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 if (idxClose <= idx) return result 23 if (idxClose <= idx) return result
24 24
25 const level = tokens[idx].tag.slice(1) 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 // Find the token for the link. 36 // Find the token for the link.
29 // 37 //
docs/ext/index.md +1
@@ -1,6 +1,7 @@
1--- 1---
2title: Extensions 2title: Extensions
3description: Extension repos for various apps 3description: Extension repos for various apps
4feedback: no
4og: 5og:
5 image: /embed/extension.png 6 image: /embed/extension.png
6--- 7---
docs/ext/ios.md +1
@@ -1,6 +1,7 @@
1--- 1---
2title: iOS Apps Extension Repos 2title: iOS Apps Extension Repos
3customDescription: Extension Repos & Guides for Aidoku, Sora & Suwatte 3customDescription: Extension Repos & Guides for Aidoku, Sora & Suwatte
4feedback: no
4og: 5og:
5 image: /embed/ios.png 6 image: /embed/ios.png
6--- 7---
docs/ext/mangayomi.md +1
@@ -2,6 +2,7 @@
2title: Mangayomi Extension Repos 2title: Mangayomi Extension Repos
3customDescription: Extension Repos & Guides for Mangayomi. 3customDescription: Extension Repos & Guides for Mangayomi.
4outline: [2,3] 4outline: [2,3]
5feedback: no
5og: 6og:
6 image: /embed/extension.png 7 image: /embed/extension.png
7--- 8---
docs/ext/mihon.md +1
@@ -2,6 +2,7 @@
2title: Mihon, Aniyomi & Dantotsu Extension Repos 2title: Mihon, Aniyomi & Dantotsu Extension Repos
3customDescription: Extension Repos & Guides for Mihon, Aniyomi & Dantotsu 3customDescription: Extension Repos & Guides for Mihon, Aniyomi & Dantotsu
4outline: [2,3] 4outline: [2,3]
5feedback: no
5og: 6og:
6 image: /embed/extension.png 7 image: /embed/extension.png
7--- 8---
docs/ext/misc.md +1
@@ -2,6 +2,7 @@
2title: Extension Repos for Miscellaneous Software 2title: Extension Repos for Miscellaneous Software
3customDescription: Miscellaneous Extension Repos & Guides 3customDescription: Miscellaneous Extension Repos & Guides
4outline: 2 4outline: 2
5feedback: no
5og: 6og:
6 image: /embed/extension.png 7 image: /embed/extension.png
7--- 8---
docs/glossary/index.md +1
@@ -1,6 +1,7 @@
1--- 1---
2title: Glossary 2title: Glossary
3description: Essential otaku and tech-related terminology 3description: Essential otaku and tech-related terminology
4feedback: no
4og: 5og:
5 image: /embed/glossary.png 6 image: /embed/glossary.png
6--- 7---
docs/guides/index.md +1
@@ -1,6 +1,7 @@
1--- 1---
2title: Guides 2title: Guides
3description: Various helpful Tutorials & Guides 3description: Various helpful Tutorials & Guides
4feedback: no
4og: 5og:
5 image: /embed/guide.png 6 image: /embed/guide.png
6--- 7---
docs/torrenting/index.md +1
@@ -1,6 +1,7 @@
1--- 1---
2title: Torrenting 2title: Torrenting
3description: Torrenting Basics & Tutorials 3description: Torrenting Basics & Tutorials
4feedback: no
4og: 5og:
5 image: /embed/tor.png 6 image: /embed/tor.png
6--- 7---