Commit 34b235603f
34b235603fe7b8856cddf117d74006fbf96b7b47
parent: e8e68bcc5c
Unsigned
Duck <57977673+woducku@users.noreply.github.com> · 2026-07-21 07:02 UTC
feedback frontmatter
Layout: unified · split
docs/.vitepress/configs/markdown/headers.ts
+9 −1
| @@ -23,7 +23,15 @@ export const headersPlugin = (md: MarkdownRenderer) => { |
| 23 | 23 | if (idxClose <= idx) return result |
| 24 | 24 | |
| 25 | 25 | const level = tokens[idx].tag.slice(1) |
| 26 | | if (excluded.includes(env.frontmatter.title) || level !== '2') return result |
| 26 | const feedback = env.frontmatter.feedback |
| 27 | if ( |
| 28 | excluded.includes(env.frontmatter.title) || |
| 29 | level !== '2' || |
| 30 | feedback === false || |
| 31 | feedback === 'no' |
| 32 | ) { |
| 33 | return result |
| 34 | } |
| 27 | 35 | |
| 28 | 36 | // Find the token for the link. |
| 29 | 37 | // |
docs/ext/index.md
+1
| @@ -1,6 +1,7 @@ |
| 1 | 1 | --- |
| 2 | 2 | title: Extensions |
| 3 | 3 | description: Extension repos for various apps |
| 4 | feedback: no |
| 4 | 5 | og: |
| 5 | 6 | image: /embed/extension.png |
| 6 | 7 | --- |
docs/ext/ios.md
+1
| @@ -1,6 +1,7 @@ |
| 1 | 1 | --- |
| 2 | 2 | title: iOS Apps Extension Repos |
| 3 | 3 | customDescription: Extension Repos & Guides for Aidoku, Sora & Suwatte |
| 4 | feedback: no |
| 4 | 5 | og: |
| 5 | 6 | image: /embed/ios.png |
| 6 | 7 | --- |
docs/ext/mangayomi.md
+1
| @@ -2,6 +2,7 @@ |
| 2 | 2 | title: Mangayomi Extension Repos |
| 3 | 3 | customDescription: Extension Repos & Guides for Mangayomi. |
| 4 | 4 | outline: [2,3] |
| 5 | feedback: no |
| 5 | 6 | og: |
| 6 | 7 | image: /embed/extension.png |
| 7 | 8 | --- |
docs/ext/mihon.md
+1
| @@ -2,6 +2,7 @@ |
| 2 | 2 | title: Mihon, Aniyomi & Dantotsu Extension Repos |
| 3 | 3 | customDescription: Extension Repos & Guides for Mihon, Aniyomi & Dantotsu |
| 4 | 4 | outline: [2,3] |
| 5 | feedback: no |
| 5 | 6 | og: |
| 6 | 7 | image: /embed/extension.png |
| 7 | 8 | --- |
docs/ext/misc.md
+1
| @@ -2,6 +2,7 @@ |
| 2 | 2 | title: Extension Repos for Miscellaneous Software |
| 3 | 3 | customDescription: Miscellaneous Extension Repos & Guides |
| 4 | 4 | outline: 2 |
| 5 | feedback: no |
| 5 | 6 | og: |
| 6 | 7 | image: /embed/extension.png |
| 7 | 8 | --- |
docs/glossary/index.md
+1
| @@ -1,6 +1,7 @@ |
| 1 | 1 | --- |
| 2 | 2 | title: Glossary |
| 3 | 3 | description: Essential otaku and tech-related terminology |
| 4 | feedback: no |
| 4 | 5 | og: |
| 5 | 6 | image: /embed/glossary.png |
| 6 | 7 | --- |
docs/guides/index.md
+1
| @@ -1,6 +1,7 @@ |
| 1 | 1 | --- |
| 2 | 2 | title: Guides |
| 3 | 3 | description: Various helpful Tutorials & Guides |
| 4 | feedback: no |
| 4 | 5 | og: |
| 5 | 6 | image: /embed/guide.png |
| 6 | 7 | --- |
docs/torrenting/index.md
+1
| @@ -1,6 +1,7 @@ |
| 1 | 1 | --- |
| 2 | 2 | title: Torrenting |
| 3 | 3 | description: Torrenting Basics & Tutorials |
| 4 | feedback: no |
| 4 | 5 | og: |
| 5 | 6 | image: /embed/tor.png |
| 6 | 7 | --- |