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) => {
2323 if (idxClose <= idx) return result
2424
2525 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 }
2735
2836 // Find the token for the link.
2937 //
docs/ext/index.md +1
@@ -1,6 +1,7 @@
11---
22title: Extensions
33description: Extension repos for various apps
4feedback: no
45og:
56 image: /embed/extension.png
67---
docs/ext/ios.md +1
@@ -1,6 +1,7 @@
11---
22title: iOS Apps Extension Repos
33customDescription: Extension Repos & Guides for Aidoku, Sora & Suwatte
4feedback: no
45og:
56 image: /embed/ios.png
67---
docs/ext/mangayomi.md +1
@@ -2,6 +2,7 @@
22title: Mangayomi Extension Repos
33customDescription: Extension Repos & Guides for Mangayomi.
44outline: [2,3]
5feedback: no
56og:
67 image: /embed/extension.png
78---
docs/ext/mihon.md +1
@@ -2,6 +2,7 @@
22title: Mihon, Aniyomi & Dantotsu Extension Repos
33customDescription: Extension Repos & Guides for Mihon, Aniyomi & Dantotsu
44outline: [2,3]
5feedback: no
56og:
67 image: /embed/extension.png
78---
docs/ext/misc.md +1
@@ -2,6 +2,7 @@
22title: Extension Repos for Miscellaneous Software
33customDescription: Miscellaneous Extension Repos & Guides
44outline: 2
5feedback: no
56og:
67 image: /embed/extension.png
78---
docs/glossary/index.md +1
@@ -1,6 +1,7 @@
11---
22title: Glossary
33description: Essential otaku and tech-related terminology
4feedback: no
45og:
56 image: /embed/glossary.png
67---
docs/guides/index.md +1
@@ -1,6 +1,7 @@
11---
22title: Guides
33description: Various helpful Tutorials & Guides
4feedback: no
45og:
56 image: /embed/guide.png
67---
docs/torrenting/index.md +1
@@ -1,6 +1,7 @@
11---
22title: Torrenting
33description: Torrenting Basics & Tutorials
4feedback: no
45og:
56 image: /embed/tor.png
67---