From c1552dce48d270745c2cc2fdff4a120d35f40f5d Mon Sep 17 00:00:00 2001 From: Soitora Date: Sun, 10 Sep 2023 21:52:12 +0200 Subject: [PATCH] Update FAQ/Guides title template --- website/src/.vitepress/config/hooks/generateOgImages.ts | 4 ++-- website/src/docs/faq/android-11+.md | 1 + website/src/docs/faq/browse/extensions.md | 3 ++- website/src/docs/faq/browse/index.md | 1 + website/src/docs/faq/browse/local-source.md | 1 + website/src/docs/faq/downloads.md | 1 + website/src/docs/faq/general.md | 3 ++- website/src/docs/faq/library.md | 1 + website/src/docs/faq/reader.md | 1 + website/src/docs/faq/settings.md | 1 + website/src/docs/guides/backups.md | 7 ++++--- website/src/docs/guides/categories.md | 1 + website/src/docs/guides/getting-started.md | 1 + website/src/docs/guides/local-source/advanced.md | 1 + website/src/docs/guides/local-source/index.md | 1 + website/src/docs/guides/reader-settings.md | 1 + website/src/docs/guides/shizuku.md | 1 + website/src/docs/guides/source-migration.md | 1 + website/src/docs/guides/tracking.md | 1 + website/src/docs/guides/troubleshooting/common-issues.md | 1 + website/src/docs/guides/troubleshooting/diagnosis.md | 1 + website/src/docs/guides/troubleshooting/index.md | 1 + website/src/forks/Neko/index.md | 1 + website/src/forks/TachiyomiAZ/index.md | 1 + website/src/forks/TachiyomiJ2K/index.md | 1 + website/src/forks/TachiyomiSY/index.md | 1 + 26 files changed, 32 insertions(+), 7 deletions(-) diff --git a/website/src/.vitepress/config/hooks/generateOgImages.ts b/website/src/.vitepress/config/hooks/generateOgImages.ts index de058125..f2c68e08 100644 --- a/website/src/.vitepress/config/hooks/generateOgImages.ts +++ b/website/src/.vitepress/config/hooks/generateOgImages.ts @@ -83,8 +83,8 @@ async function generateImage({ page, template, outDir, fonts }: GenerateImagesOp props: { title: frontmatter.layout === "home" - ? frontmatter.hero.name ?? frontmatter.title.replace(/\s\-.*$/, "") - : frontmatter.customMetaTitle ?? frontmatter.title.replace(/\s\-.*$/, ""), + ? frontmatter.hero.name ?? frontmatter.title + : frontmatter.customMetaTitle ?? frontmatter.title, description: frontmatter.layout === "home" ? frontmatter.hero.tagline ?? frontmatter.description diff --git a/website/src/docs/faq/android-11+.md b/website/src/docs/faq/android-11+.md index 1b07dbce..e33fe3ae 100644 --- a/website/src/docs/faq/android-11+.md +++ b/website/src/docs/faq/android-11+.md @@ -1,5 +1,6 @@ --- title: Android 11+ +titleTemplate: Frequently Asked Questions description: Understanding Android 11 Changes. --- diff --git a/website/src/docs/faq/browse/extensions.md b/website/src/docs/faq/browse/extensions.md index eda51344..fd3a7b2a 100644 --- a/website/src/docs/faq/browse/extensions.md +++ b/website/src/docs/faq/browse/extensions.md @@ -1,5 +1,6 @@ --- -title: Extensions - FAQ +title: Extensions +titleTemplate: Browse - Frequently Asked Questions description: Frequently Asked Questions about Extensions. --- diff --git a/website/src/docs/faq/browse/index.md b/website/src/docs/faq/browse/index.md index a573184e..e96d8df8 100644 --- a/website/src/docs/faq/browse/index.md +++ b/website/src/docs/faq/browse/index.md @@ -1,5 +1,6 @@ --- title: Browse +titleTemplate: Frequently Asked Questions description: Frequently Asked Questions about Browse. --- diff --git a/website/src/docs/faq/browse/local-source.md b/website/src/docs/faq/browse/local-source.md index 56ad3380..5eb0057d 100644 --- a/website/src/docs/faq/browse/local-source.md +++ b/website/src/docs/faq/browse/local-source.md @@ -1,5 +1,6 @@ --- title: Local source +titleTemplate: Browse - Frequently Asked Questions description: Frequently Asked Questions about the Local source. --- diff --git a/website/src/docs/faq/downloads.md b/website/src/docs/faq/downloads.md index f2fc9afa..982989a0 100644 --- a/website/src/docs/faq/downloads.md +++ b/website/src/docs/faq/downloads.md @@ -1,5 +1,6 @@ --- title: Downloads +titleTemplate: Frequently Asked Questions description: Frequently Asked Question about Downloads. --- diff --git a/website/src/docs/faq/general.md b/website/src/docs/faq/general.md index ee08bdcc..26b2ecfb 100644 --- a/website/src/docs/faq/general.md +++ b/website/src/docs/faq/general.md @@ -1,5 +1,6 @@ --- -title: General - FAQ +title: General +titleTemplate: Frequently Asked Questions description: Frequently Asked Questions --- diff --git a/website/src/docs/faq/library.md b/website/src/docs/faq/library.md index ca6a51c0..6226c36f 100644 --- a/website/src/docs/faq/library.md +++ b/website/src/docs/faq/library.md @@ -1,5 +1,6 @@ --- title: Library +titleTemplate: Frequently Asked Questions description: Frequently Asked Questions about the Library. --- diff --git a/website/src/docs/faq/reader.md b/website/src/docs/faq/reader.md index 243b9d64..2ea1125a 100644 --- a/website/src/docs/faq/reader.md +++ b/website/src/docs/faq/reader.md @@ -1,5 +1,6 @@ --- title: Reader +titleTemplate: Frequently Asked Questions description: Frequently Asked Questions about the Reader. --- diff --git a/website/src/docs/faq/settings.md b/website/src/docs/faq/settings.md index 17a3bee7..abd8c3b5 100644 --- a/website/src/docs/faq/settings.md +++ b/website/src/docs/faq/settings.md @@ -1,5 +1,6 @@ --- title: Settings +titleTemplate: Frequently Asked Questions description: Frequently Asked Questions about various settings. --- diff --git a/website/src/docs/guides/backups.md b/website/src/docs/guides/backups.md index dd7f2491..d54073ef 100644 --- a/website/src/docs/guides/backups.md +++ b/website/src/docs/guides/backups.md @@ -1,5 +1,6 @@ --- title: Backups +titleTemplate: Guides description: Backups helps you prevent losing your library if something happens. --- @@ -73,7 +74,7 @@ This way, you can recover from catastrophic failures. ### Syncing backups with external cloud services -Cross device sync in **Tachiyomi** is not planned in the future, but users can use +Cross device sync in **Tachiyomi** is not planned in the future, but users can use [Autosync for Google Drive](https://play.google.com/store/apps/details?id=com.ttxapps.drivesync) in order to sync backup files to Drive automatically with the following steps: @@ -98,12 +99,12 @@ In addition, some forks have specific limitations regarding backup restoration: - [Neko](/forks/Neko/) can only restore [MangaDex](/extensions/#all.mangadex) entries in a backup. > Entries from other sources will not transfer. - + > Migrate everything to MangaDex if you require to. - All forks have fork-specific settings and changes that might be saved in Backups. Such settings are not restored in original Tachiyomi and will get lost when creating a new backup. > For Example: [TachiyomiSY](/forks/TachiyomiSY/) has the option to backup/restore saved searches. - + These will **NOT** be restored to original Tachiyomi or its forks. - Only [TachiyomiAZ](/forks/TachiyomiAZ/) supports creating/restoring legacy `.json` backups and current `.proto.gz` backups. > Users are recommended to update their `.json` backups to use the improved and efficient `.proto.gz` backups. diff --git a/website/src/docs/guides/categories.md b/website/src/docs/guides/categories.md index e4422148..d91f0c1e 100644 --- a/website/src/docs/guides/categories.md +++ b/website/src/docs/guides/categories.md @@ -1,5 +1,6 @@ --- title: Categories +titleTemplate: Guides description: Organize your favorite series effortlessly with categories that declutter and structure your library. --- diff --git a/website/src/docs/guides/getting-started.md b/website/src/docs/guides/getting-started.md index 1e43c252..20dd9d4d 100644 --- a/website/src/docs/guides/getting-started.md +++ b/website/src/docs/guides/getting-started.md @@ -1,5 +1,6 @@ --- title: Getting started +titleTemplate: Guides description: Essential information to help you get set up with Tachiyomi. --- diff --git a/website/src/docs/guides/local-source/advanced.md b/website/src/docs/guides/local-source/advanced.md index 5a90536f..47f16384 100644 --- a/website/src/docs/guides/local-source/advanced.md +++ b/website/src/docs/guides/local-source/advanced.md @@ -1,5 +1,6 @@ --- title: Advanced editing +titleTemplate: Local source - Guides description: Advanced local series metadata editing for enhanced library organization. --- diff --git a/website/src/docs/guides/local-source/index.md b/website/src/docs/guides/local-source/index.md index 20687f1f..37a8d7d7 100644 --- a/website/src/docs/guides/local-source/index.md +++ b/website/src/docs/guides/local-source/index.md @@ -1,5 +1,6 @@ --- title: Local source +titleTemplate: Guides description: For users who would like to download and organize their own media. --- diff --git a/website/src/docs/guides/reader-settings.md b/website/src/docs/guides/reader-settings.md index bafb7934..bbac1305 100644 --- a/website/src/docs/guides/reader-settings.md +++ b/website/src/docs/guides/reader-settings.md @@ -1,5 +1,6 @@ --- title: Reader settings +titleTemplate: Guides description: This section relates to the reading experience in the app and navigating the reader. --- diff --git a/website/src/docs/guides/shizuku.md b/website/src/docs/guides/shizuku.md index dcf8002e..9cc345a5 100644 --- a/website/src/docs/guides/shizuku.md +++ b/website/src/docs/guides/shizuku.md @@ -1,5 +1,6 @@ --- title: Shizuku +titleTemplate: Guides description: Using Shizuku with Tachiyomi. --- diff --git a/website/src/docs/guides/source-migration.md b/website/src/docs/guides/source-migration.md index e040581a..d1a5cb14 100644 --- a/website/src/docs/guides/source-migration.md +++ b/website/src/docs/guides/source-migration.md @@ -1,5 +1,6 @@ --- title: Source migration +titleTemplate: Guides description: Migration is the process of moving series between sources without losing progress. --- diff --git a/website/src/docs/guides/tracking.md b/website/src/docs/guides/tracking.md index 8e4451bb..dee75abe 100644 --- a/website/src/docs/guides/tracking.md +++ b/website/src/docs/guides/tracking.md @@ -1,5 +1,6 @@ --- title: Tracking +titleTemplate: Guides description: Tracking helps track your library with different online services. --- diff --git a/website/src/docs/guides/troubleshooting/common-issues.md b/website/src/docs/guides/troubleshooting/common-issues.md index c9593a39..9bd87ad3 100644 --- a/website/src/docs/guides/troubleshooting/common-issues.md +++ b/website/src/docs/guides/troubleshooting/common-issues.md @@ -1,5 +1,6 @@ --- title: Common issues +titleTemplate: Troubleshooting - Guides description: Facing issues with a source or the app? Here's how to tackle common challenges. --- diff --git a/website/src/docs/guides/troubleshooting/diagnosis.md b/website/src/docs/guides/troubleshooting/diagnosis.md index 446c3a84..bf4cc599 100644 --- a/website/src/docs/guides/troubleshooting/diagnosis.md +++ b/website/src/docs/guides/troubleshooting/diagnosis.md @@ -1,5 +1,6 @@ --- title: Diagnosis +titleTemplate: Troubleshooting - Guides description: Facing issues with a source or the app? Follow these steps to troubleshoot and find solutions. --- diff --git a/website/src/docs/guides/troubleshooting/index.md b/website/src/docs/guides/troubleshooting/index.md index e9f5670a..a32edde7 100644 --- a/website/src/docs/guides/troubleshooting/index.md +++ b/website/src/docs/guides/troubleshooting/index.md @@ -1,5 +1,6 @@ --- title: Troubleshooting +titleTemplate: Guides description: Facing source or app issues? Here's how to troubleshoot. --- diff --git a/website/src/forks/Neko/index.md b/website/src/forks/Neko/index.md index 8ed74849..63419d99 100644 --- a/website/src/forks/Neko/index.md +++ b/website/src/forks/Neko/index.md @@ -1,5 +1,6 @@ --- title: Neko +titleTemplate: false description: Features specific to MangaDex with the featureset of TachiyomiJ2K layout: home diff --git a/website/src/forks/TachiyomiAZ/index.md b/website/src/forks/TachiyomiAZ/index.md index 83f3baca..310c9964 100644 --- a/website/src/forks/TachiyomiAZ/index.md +++ b/website/src/forks/TachiyomiAZ/index.md @@ -1,5 +1,6 @@ --- title: TachiyomiAZ +titleTemplate: false description: Hentai-focused with legacy features layout: home diff --git a/website/src/forks/TachiyomiJ2K/index.md b/website/src/forks/TachiyomiJ2K/index.md index 07260708..bd929ce2 100644 --- a/website/src/forks/TachiyomiJ2K/index.md +++ b/website/src/forks/TachiyomiJ2K/index.md @@ -1,5 +1,6 @@ --- title: TachiyomiJ2K +titleTemplate: false description: New approach to the design of the base app along with several other enhancements layout: home diff --git a/website/src/forks/TachiyomiSY/index.md b/website/src/forks/TachiyomiSY/index.md index e8111145..6fd645e3 100644 --- a/website/src/forks/TachiyomiSY/index.md +++ b/website/src/forks/TachiyomiSY/index.md @@ -1,5 +1,6 @@ --- title: TachiyomiSY +titleTemplate: false description: Keeping up-to-date with Tachiyomi while also adding exclusive features layout: home