mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
🎨 style: optimize heti css styles
This commit is contained in:
parent
85a629b4ee
commit
5408676c64
23 changed files with 63 additions and 130 deletions
|
@ -13,8 +13,7 @@ const currentUI = ui[currentLang as keyof typeof ui]
|
|||
const { headings = [] } = Astro.props
|
||||
const filteredHeadings = headings.filter(heading =>
|
||||
heading.depth >= 2
|
||||
&& heading.depth <= 4
|
||||
&& heading.text !== 'Footnotes',
|
||||
&& heading.depth <= 4,
|
||||
)
|
||||
---
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue