From 874337f7d1e17673e27ded249652fb8e1d6b9730 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Mon, 13 Jul 2026 14:20:28 +0800 Subject: [PATCH] docs: update theme documentation links --- README.md | 6 +++--- README.zh-cn.md | 6 +++--- apps/demo/hugo.toml | 2 +- apps/test/hugo.toml | 2 +- archetypes/post-bundle/index.md | 2 +- archetypes/posts.md | 2 +- assets/scss/custom.scss.example | 2 +- hugo.toml | 18 +++++++++--------- i18n/de.toml | 2 +- i18n/en.toml | 2 +- i18n/es.toml | 2 +- i18n/fr.toml | 2 +- i18n/hi.toml | 2 +- i18n/it.toml | 2 +- i18n/ja.toml | 2 +- i18n/ko.toml | 6 +++--- i18n/pl.toml | 2 +- i18n/pt-BR.toml | 2 +- i18n/ro.toml | 2 +- i18n/ru.toml | 2 +- i18n/sr.toml | 2 +- i18n/vi.toml | 2 +- i18n/zh-CN.toml | 2 +- i18n/zh-TW.toml | 2 +- .../_partials/init/detection-encryption.html | 16 +++++++--------- layouts/_partials/init/index.html | 2 +- layouts/_partials/plugin/admonition.html | 2 +- layouts/_shortcodes/file-tree.html | 2 +- layouts/_shortcodes/tabs.html | 2 +- 29 files changed, 49 insertions(+), 51 deletions(-) diff --git a/README.md b/README.md index f5aa8429..0123ba9d 100644 --- a/README.md +++ b/README.md @@ -49,9 +49,9 @@ ### Documentation -Head to the [Quick Start](https://fixit.lruihao.cn/documentation/getting-started/quick-start/) page for a step-by-step guide on how to create a new website with FixIt. +Head to the [Quick Start](https://fixit.lruihao.cn/docs/getting-started/quick-start/) page for a step-by-step guide on how to create a new website with FixIt. -Outline: [Installation](https://fixit.lruihao.cn/documentation/installation/) ➜ [Getting Started](https://fixit.lruihao.cn/documentation/getting-started/) ➜ [Content Management](https://fixit.lruihao.cn/documentation/content-management/) ➜ [Advanced Usage](https://fixit.lruihao.cn/documentation/advanced/) +Outline: [Installation](https://fixit.lruihao.cn/docs/installation/) ➜ [Getting Started](https://fixit.lruihao.cn/docs/getting-started/) ➜ [Content Management](https://fixit.lruihao.cn/docs/content-management/) ➜ [Advanced Usage](https://fixit.lruihao.cn/docs/advanced/) ### Starter Wizard @@ -170,7 +170,7 @@ Click the following links to generate a new repository with template: ## Multilingual and i18n -FixIt supports multilingual and i18n. For more information, see the [Content Management](https://fixit.lruihao.cn/documentation/content-management/introduction#multilingual) documentation. You are welcome to [contribute with a new language](https://github.com/hugo-fixit/FixIt/pulls). +FixIt supports multilingual and i18n. For more information, see the [Content Management](https://fixit.lruihao.cn/docs/content-management/introduction#multilingual) documentation. You are welcome to [contribute with a new language](https://github.com/hugo-fixit/FixIt/pulls).
FixIt supports the following languages. diff --git a/README.zh-cn.md b/README.zh-cn.md index a6cd6dcc..2128cd1a 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -49,9 +49,9 @@ ### 主题文档 -前往 [快速上手](https://fixit.lruihao.cn/zh-cn/documentation/getting-started/quick-start/) 页面,了解如何使用 FixIt 主题创建一个新网站的详细步骤。 +前往 [快速上手](https://fixit.lruihao.cn/zh-cn/docs/getting-started/quick-start/) 页面,了解如何使用 FixIt 主题创建一个新网站的详细步骤。 -大纲:[安装篇](https://fixit.lruihao.cn/zh-cn/documentation/installation/) ➜ [入门篇](https://fixit.lruihao.cn/zh-cn/documentation/getting-started/) ➜ [内容管理](https://fixit.lruihao.cn/zh-cn/documentation/content-management/) ➜ [进阶篇](https://fixit.lruihao.cn/zh-cn/documentation/advanced/) +大纲:[安装篇](https://fixit.lruihao.cn/zh-cn/docs/installation/) ➜ [入门篇](https://fixit.lruihao.cn/zh-cn/docs/getting-started/) ➜ [内容管理](https://fixit.lruihao.cn/zh-cn/docs/content-management/) ➜ [进阶篇](https://fixit.lruihao.cn/zh-cn/docs/advanced/) ### 快速开始 @@ -170,7 +170,7 @@ pnpx fixit-cli create my-blog ## 多语言和国际化 -FixIt 主题多语言基本配置及自动翻译等详见 [内容管理](https://fixit.lruihao.cn/zh-cn/documentation/content-management/introduction#multilingual) 文档,欢迎 [贡献一种新的语言](https://github.com/hugo-fixit/FixIt/pulls)。 +FixIt 主题多语言基本配置及自动翻译等详见 [内容管理](https://fixit.lruihao.cn/zh-cn/docs/content-management/introduction#multilingual) 文档,欢迎 [贡献一种新的语言](https://github.com/hugo-fixit/FixIt/pulls)。
FixIt 支持下列语言。 diff --git a/apps/demo/hugo.toml b/apps/demo/hugo.toml index 69fee7ee..d717fb4e 100644 --- a/apps/demo/hugo.toml +++ b/apps/demo/hugo.toml @@ -22,7 +22,7 @@ _merge = "shallow" # ------------------------------------------------------------------------------------- # Theme Core Configuration -# See: https://fixit.lruihao.cn/documentation/basics/#theme-configuration +# See: https://fixit.lruihao.cn/docs/getting-started/configuration/params/ # ------------------------------------------------------------------------------------- [params] diff --git a/apps/test/hugo.toml b/apps/test/hugo.toml index dccefeec..7cbea17b 100644 --- a/apps/test/hugo.toml +++ b/apps/test/hugo.toml @@ -38,7 +38,7 @@ _merge = "shallow" # ------------------------------------------------------------------------------------- # Theme Core Configuration -# See: https://fixit.lruihao.cn/documentation/basics/#theme-configuration +# See: https://fixit.lruihao.cn/docs/getting-started/configuration/params/ # ------------------------------------------------------------------------------------- [params] diff --git a/archetypes/post-bundle/index.md b/archetypes/post-bundle/index.md index 0908a04c..03b4efb8 100644 --- a/archetypes/post-bundle/index.md +++ b/archetypes/post-bundle/index.md @@ -25,7 +25,7 @@ repost: enable: false url: -# See: https://fixit.lruihao.cn/documentation/content-management/introduction/#front-matter +# See: https://fixit.lruihao.cn/docs/content-management/front-matter/ --- diff --git a/archetypes/posts.md b/archetypes/posts.md index b305c808..da8c6e22 100644 --- a/archetypes/posts.md +++ b/archetypes/posts.md @@ -22,7 +22,7 @@ repost: enable: false url: -# See: https://fixit.lruihao.cn/documentation/content-management/introduction/#front-matter +# See: https://fixit.lruihao.cn/docs/content-management/front-matter/ --- diff --git a/assets/scss/custom.scss.example b/assets/scss/custom.scss.example index 961c102b..458e1f33 100644 --- a/assets/scss/custom.scss.example +++ b/assets/scss/custom.scss.example @@ -3,7 +3,7 @@ /// /// Copy this file to your project's assets/scss/ directory /// and rename it to custom.scss to activate it. -/// See: https://fixit.lruihao.cn/documentation/advanced/#style-customization +/// See: https://fixit.lruihao.cn/docs/advanced/#style-customization /// ========================================================================== @use "core/mixins" as *; // ———————————————————————————————————————————————————————————— diff --git a/hugo.toml b/hugo.toml index f3877a3b..8a648eab 100644 --- a/hugo.toml +++ b/hugo.toml @@ -77,7 +77,7 @@ quality = 75 # ------------------------------------------------------------------------------------- # Menu Configuration -# See: https://fixit.lruihao.cn/documentation/basics/#menu-configuration +# See: https://fixit.lruihao.cn/docs/getting-started/configuration/#menu-configuration # ------------------------------------------------------------------------------------- [menus] @@ -137,7 +137,7 @@ icon = "fa-solid fa-tags" # ------------------------------------------------------------------------------------- # Related content Configuration -# See: https://gohugo.io/content-management/related-content/ +# See: https://gohugo.io/configuration/related-content/ # ------------------------------------------------------------------------------------- [related] @@ -283,7 +283,7 @@ xhtml = false # ------------------------------------------------------------------------------------- # Sitemap Configuration -# See: https://gohugo.io/templates/sitemap/#configuration +# See: https://gohugo.io/configuration/sitemap/ # ------------------------------------------------------------------------------------- [sitemap] @@ -294,7 +294,7 @@ priority = 0.5 # ------------------------------------------------------------------------------------- # Permalinks Configuration -# See: https://gohugo.io/content-management/urls/#permalinks +# See: https://gohugo.io/configuration/permalinks/ # ------------------------------------------------------------------------------------- [permalinks] @@ -463,7 +463,7 @@ noJSConfigInAssets = true # 1. Site-level params — apply to the entire site, can NOT be overridden per-page. # 2. Page-level params — can be overridden per-page via page front matter. # -# See: https://fixit.lruihao.cn/documentation/basics/#theme-configuration +# See: https://fixit.lruihao.cn/docs/getting-started/configuration/params/ # ------------------------------------------------------------------------------------- [params] @@ -519,7 +519,7 @@ disable_theme_inject = false # enable: false # --- # -# See: https://fixit.lruihao.cn/documentation/content-management/front-matter +# See: https://fixit.lruihao.cn/docs/content-management/front-matter # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Whether to capitalize titles. @@ -653,7 +653,7 @@ sort = false boxed = true # File tree configuration. -# See: [File Tree](https://fixit.lruihao.cn/documentation/content-management/shortcodes/extended/file-tree/) +# See: [File Tree](https://fixit.lruihao.cn/docs/content-management/shortcodes/extended/file-tree/) [params.filetree] # The expand level of the tree (expand all: -1, collapse all: 0). level = 1 @@ -1591,13 +1591,13 @@ duration = -1 loop = false # Admonitions custom configuration. -# See: [Custom Admonitions](https://fixit.lruihao.cn/documentation/content-management/shortcodes/extended/admonition/#custom-admonitions). +# See: [Custom Admonitions](https://fixit.lruihao.cn/docs/advanced/#custom-admonitions). # syntax: ` = ` [params.admonition] # ban = "fa-solid fa-ban" # Task lists custom configuration. -# See: [Custom Task Lists](https://fixit.lruihao.cn/documentation/content-management/advanced/#custom-task-lists). +# See: [Custom Task Lists](https://fixit.lruihao.cn/docs/advanced/#custom-task-lists). # syntax: ` = ` [params.task_list] # tip = "fa-regular fa-lightbulb" diff --git a/i18n/de.toml b/i18n/de.toml index 1a7bc6da..5d2dec41 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -6,7 +6,7 @@ [init] hugoVersionError = "Hugo-Version ist zu niedrig.\n\nAktuelle Hugo-Version ist {{ .Current }}, die minimal unterstützte Version für FixIt ist {{ .Minimal }}.\n\nWenn Sie Hugo auf Ihrem eigenen Computer ausführen, schauen Sie sich https://gohugo.io/getting-started/installing/#upgrade-hugo für eine Upgrade-Anleitung an.\n\nWenn Sie auf einer Drittanbieterplattform bereitstellen, konfigurieren Sie bitte die Hugo-Version entsprechend." hugoExtendedWarn = "Die Hugo Extended-Version ist für die Unterstützung von SCSS erforderlich." -configurationError = "Konfigurationsfehler\nSie haben den FixIt-Versionsparameter noch nicht korrekt konfiguriert. Siehe https://fixit.lruihao.cn/documentation/basics/#theme-configuration" +configurationError = "Konfigurationsfehler\nSie haben den FixIt-Versionsparameter noch nicht korrekt konfiguriert. Siehe https://fixit.lruihao.cn/docs/getting-started/configuration/params/?lang=deutsch" compatibilityError = "Kompatibilitätsfehler ({{ .From }} -> {{ .To }}):\nSie haben ein inkompatibles Update. Siehe https://github.com/hugo-fixit/FixIt/releases" devVersionWarn = "Sie verwenden eine Entwicklungsversion von FixIt. Bitte erwägen Sie die Verwendung einer stabilen Version.\nSiehe https://github.com/hugo-fixit/FixIt/releases" devEnvWarn = "Die aktuelle Umgebung ist \"Entwicklung\". Das \"Kommentarsystem\", \"PWA\", \"CDN\", \"Fingerprint\" und \"Analytics\" werden deaktiviert." diff --git a/i18n/en.toml b/i18n/en.toml index 7fd04252..b0e386f4 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -5,7 +5,7 @@ [init] hugoVersionError = "Hugo version is too low.\n\nCurrent Hugo version is {{ .Current }}, the minimum supported version for FixIt is {{ .Minimal }}.\n\nIf you are running Hugo on your own computer, check out https://gohugo.io/getting-started/installing/#upgrade-hugo for upgrading guide.\n\nIf you are deploying on a third-party platform, please configure Hugo version accordingly." hugoExtendedWarn = "The Hugo Extended version is necessary for SCSS support." -configurationError = "Configuration Error\nYou haven't configured the FixIt version param correctly yet. See https://fixit.lruihao.cn/documentation/basics/#theme-configuration" +configurationError = "Configuration Error\nYou haven't configured the FixIt version param correctly yet. See https://fixit.lruihao.cn/docs/getting-started/configuration/params/" compatibilityError = "Compatibility Error ({{ .From }} -> {{ .To }}):\nYou have an incompatible update. See https://github.com/hugo-fixit/FixIt/releases" devVersionWarn = "You are using a development version of FixIt. Please consider using a stable version.\nSee https://github.com/hugo-fixit/FixIt/releases" devEnvWarn = "Current environment is \"development\". The \"comment system\", \"PWA\", \"CDN\", \"fingerprint\" and \"analytics\" will be disabled." diff --git a/i18n/es.toml b/i18n/es.toml index 224a25a4..e92446ca 100644 --- a/i18n/es.toml +++ b/i18n/es.toml @@ -6,7 +6,7 @@ [init] hugoVersionError = "Hugo versión es demasiado baja.\n\nLa versión actual de Hugo es {{ .Current }}, la versión mínima compatible para FixIt es {{ .Minimal }}.\n\nSi estás ejecutando Hugo en tu propia computadora, consulta https://gohugo.io/getting-started/installing/#upgrade-hugo para obtener una guía de actualización.\n\nSi estás desplegando en una plataforma de terceros, por favor configura la versión de Hugo en consecuencia." hugoExtendedWarn = "La versión extendida de Hugo es necesaria para el soporte de SCSS." -configurationError = "Error de configuración\nAún no ha configurado correctamente el parámetro de versión de FixIt. Consulte https://fixit.lruihao.cn/documentation/basics/#theme-configuration" +configurationError = "Error de configuración\nAún no ha configurado correctamente el parámetro de versión de FixIt. Consulte https://fixit.lruihao.cn/docs/getting-started/configuration/params/?lang=spanish" compatibilityError = "Error de compatibilidad ({{ .From }} -> {{ .To }}):\nTiene una actualización incompatible. Consulte https://github.com/hugo-fixit/FixIt/releases" devVersionWarn = "Está utilizando una versión de desarrollo de FixIt. Considere usar una versión estable.\nConsulte https://github.com/hugo-fixit/FixIt/releases" devEnvWarn = "El entorno actual es \"desarrollo\". El \"sistema de comentarios\", \"PWA\", \"CDN\", \"huella digital\" y \"análisis\" estarán deshabilitados." diff --git a/i18n/fr.toml b/i18n/fr.toml index eba6ca8e..c9a613a1 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -6,7 +6,7 @@ [init] hugoVersionError = "La version de Hugo est trop ancienne.\n\nLa version actuelle de Hugo est {{ .Current }}, la version minimale requise pour FixIt est {{ .Minimal }}.\n\nSi vous utilisez Hugo sur votre ordinateur, consultez le guide de mise à niveau à l'adresse https://gohugo.io/getting-started/installing/#upgrade-hugo.\n\nSi vous déployez sur une plateforme tierce, veuillez configurer la version de Hugo en conséquence." hugoExtendedWarn = "La version étendue de Hugo est nécessaire pour la prise en charge de SCSS." -configurationError = "Erreur de configuration\nVous n'avez pas configuré la version de FixIt correctement. Voir https://fixit.lruihao.cn/documentation/basics/#theme-configuration" +configurationError = "Erreur de configuration\nVous n'avez pas configuré la version de FixIt correctement. Voir https://fixit.lruihao.cn/docs/getting-started/configuration/params/?lang=french" compatibilityError = "Erreur de compatibilité ({{ .From }} -> {{ .To }}):\nVous avez une mise à jour incompatible. Voir https://github.com/hugo-fixit/FixIt/releases" devVersionWarn = "Vous utilisez une version de développement de FixIt. Veuillez considérer l'utilisation d'une version stable.\nVoir https://github.com/hugo-fixit/FixIt/releases" devEnvWarn = "L'environnement actuel est \"développement\". Le \"système de commentaires\", le \"PWA\", le \"CDN\", le \"prise d'empreinte\" et la \"analyses\" seront désactivés." diff --git a/i18n/hi.toml b/i18n/hi.toml index bc949ae3..367befe9 100644 --- a/i18n/hi.toml +++ b/i18n/hi.toml @@ -6,7 +6,7 @@ [init] hugoVersionError = "Hugo संस्करण बहुत पुराना है।\n\nवर्तमान में उपयोग किया जा रहा Hugo संस्करण {{ .Current }} है, जबकि FixIt के लिए न्यूनतम आवश्यक संस्करण {{ .Minimal }} है।\n\nयदि आप अपने कंप्यूटर पर Hugo का उपयोग कर रहे हैं, तो कृपया अपग्रेड गाइड देखें: https://gohugo.io/getting-started/installing/#upgrade-hugo\n\nयदि आप किसी तृतीय-पक्ष प्लेटफ़ॉर्म पर तैनात कर रहे हैं, तो कृपया Hugo संस्करण को तदनुसार कॉन्फ़िगर करें। " hugoExtendedWarn = "SCSS समर्थन के लिए Hugo Extended संस्करण आवश्यक है।" -configurationError = "कन्फ़िग्यरेशन त्रुटि \nआपने फिक्सइट संस्करण पैरामीटर को सही ढंग से कॉन्फ़िगर नहीं किया है।. यह देखें: https://fixit.lruihao.cn/documentation/basics/#theme-configuration" +configurationError = "कन्फ़िग्यरेशन त्रुटि \nआपने फिक्सइट संस्करण पैरामीटर को सही ढंग से कॉन्फ़िगर नहीं किया है।. यह देखें: https://fixit.lruihao.cn/docs/getting-started/configuration/params/" compatibilityError = "संगतता त्रुटि ({{ .From }} -> {{ .To }}):\nआपके पास एक असंगत अपडेट है. यह देखें: https://github.com/hugo-fixit/FixIt/releases" devVersionWarn = "आप फिक्सइट के डिवेलपर संस्करण का उपयोग कर रहे हैं। कृपया एक स्थिर संस्करण का उपयोग करने पर विचार करें।\nयह देखें: https://github.com/hugo-fixit/FixIt/releases" devEnvWarn = "वर्तमान परिवेश \"डिवेलप्मेंट\" का है। \"टिप्पणी प्रणाली\", \"पीडब्ल्यूए\", \"सीडीएन\", \"फ़िंगरप्रिंट\" और \"विश्लेषण\" अक्षम कर दिए जाएंगे।" diff --git a/i18n/it.toml b/i18n/it.toml index 88fb8c36..cff4488b 100644 --- a/i18n/it.toml +++ b/i18n/it.toml @@ -6,7 +6,7 @@ [init] hugoVersionError = "La versione di Hugo è troppo bassa.\n\nLa versione attuale di Hugo è {{ .Current }}, la versione minima supportata per FixIt è {{ .Minimal }}.\n\nSe stai eseguendo Hugo sul tuo computer, consulta https://gohugo.io/getting-started/installing/#upgrade-hugo per la guida all'aggiornamento.\n\nSe stai distribuendo su una piattaforma di terze parti, configura la versione di Hugo di conseguenza." hugoExtendedWarn = "La versione Hugo Extended è necessaria per il supporto SCSS." -configurationError = "Errore di configurazione\nNon hai ancora configurato correttamente il parametro della versione di FixIt. Vedi https://fixit.lruihao.cn/documentation/basics/#theme-configuration" +configurationError = "Errore di configurazione\nNon hai ancora configurato correttamente il parametro della versione di FixIt. Vedi https://fixit.lruihao.cn/docs/getting-started/configuration/params/" compatibilityError = "Errore di compatibilità ({{ .From }} -> {{ .To }}):\nHai un aggiornamento incompatibile. Vedi https://github.com/hugo-fixit/FixIt/releases" devVersionWarn = "Stai utilizzando una versione di sviluppo di FixIt. Si prega di considerare l'utilizzo di una versione stabile.\nVedi https://github.com/hugo-fixit/FixIt/releases" devEnvWarn = "L'ambiente attuale è \"sviluppo\". Il \"sistema di commenti\", \"PWA\", \"CDN\", \"impronta digitale\" e \"analisi\" saranno disabilitati." diff --git a/i18n/ja.toml b/i18n/ja.toml index af18be30..d764bfe4 100644 --- a/i18n/ja.toml +++ b/i18n/ja.toml @@ -6,7 +6,7 @@ [init] hugoVersionError = "Hugo のバージョンが低すぎます。\n\n現在の Hugo バージョンは {{ .Current }} ですが、FixIt がサポートする最小バージョンは {{ .Minimal }} です。\n\n自分のコンピューターで Hugo を実行している場合は、https://gohugo.io/getting-started/installing/#upgrade-hugo でアップグレードガイドを参照してください。\n\nサードパーティプラットフォームにデプロイしている場合は、Hugo バージョンを適切に設定してください。" hugoExtendedWarn = "SCSS サポートには Hugo Extended バージョンが必要です。" -configurationError = "設定ファイルエラー\nまだ FixIt のバージョンパラメータを正しく設定していません。 https://fixit.lruihao.cn/zh-cn/documentation/basics/#theme-configuration を参照してください" +configurationError = "設定ファイルエラー\nまだ FixIt のバージョンパラメータを正しく設定していません。 https://fixit.lruihao.cn/docs/getting-started/configuration/params/?lang=japanese を参照してください" compatibilityError = "互換性エラー ({{ .From }} -> {{ .To }}):\n互換性のない更新が行われました。 https://github.com/hugo-fixit/FixIt/releases を参照してください" devVersionWarn = "開発版の FixIt を使用しています。安定版の使用を検討してください。\n https://github.com/hugo-fixit/FixIt/releases を参照" devEnvWarn = "現在の実行環境は「development」です。「コメントシステム」、「PWA」、「CDN」、「フィンガープリント」、「統計」は有効になりません。" diff --git a/i18n/ko.toml b/i18n/ko.toml index 6e984943..58d75652 100644 --- a/i18n/ko.toml +++ b/i18n/ko.toml @@ -6,9 +6,9 @@ [init] hugoVersionError = "Hugo 버전이 너무 낮습니다.\n\n현재 Hugo 버전은 {{ .Current }}이며, FixIt의 최소 지원 버전은 {{ .Minimal }}입니다.\n\n자신의 컴퓨터에서 Hugo를 실행 중이라면 https://gohugo.io/getting-started/installing/#upgrade-hugo 에서 업그레이드 가이드를 확인하세요.\n\n타사 플랫폼에 배포 중이라면 Hugo 버전을 적절히 설정해 주세요." hugoExtendedWarn = "SCSS 지원을 위해 Hugo Extended 버전이 필요합니다." -configurationError = "구성 파일 오류\n아직 FixIt의 버전 매개변수를 올바르게 구성하지 않았습니다. https://fixit.lruihao.cn/ko/documentation/basics/#theme-configuration 을 참조하세요." -compatibilityError = "호환성 오류 ({{ .From }} -> {{ .To }}):\n비호환 업데이트를 수행했습니다. https://github.com/hugo-fixit/FixIt/releases를 참조하세요." -devVersionWarn = "현재 개발 버전의 FixIt을 사용 중입니다. 안정적인 버전을 사용하는 것이 좋습니다.\n자세한 내용은 https://github.com/hugo-fixit/FixIt/releases를 참조하세요." +configurationError = "구성 파일 오류\n아직 FixIt의 버전 매개변수를 올바르게 구성하지 않았습니다. https://fixit.lruihao.cn/docs/getting-started/configuration/params/?lang=korean 을 참조하세요." +compatibilityError = "호환성 오류 ({{ .From }} -> {{ .To }}):\n비호환 업데이트를 수행했습니다. https://github.com/hugo-fixit/FixIt/releases 를 참조하세요." +devVersionWarn = "현재 개발 버전의 FixIt을 사용 중입니다. 안정적인 버전을 사용하는 것이 좋습니다.\n자세한 내용은 https://github.com/hugo-fixit/FixIt/releases 를 참조하세요." devEnvWarn = "현재 실행 환경이 'development'입니다. '댓글 시스템', 'PWA', 'CDN', '지문 인식' 및 '통계'가 활성화되지 않습니다." quicklyUpgrade = "명령어를 사용하여 빠르게 업그레이드하세요:" # === Init === diff --git a/i18n/pl.toml b/i18n/pl.toml index 8ac2df0f..50a8156a 100644 --- a/i18n/pl.toml +++ b/i18n/pl.toml @@ -6,7 +6,7 @@ [init] hugoVersionError = "Wersja Hugo jest zbyt niska.\n\nAktualna wersja Hugo to {{ .Current }}, minimalna obsługiwana wersja dla FixIt to {{ .Minimal }}.\n\nJeśli uruchamiasz Hugo na własnym komputerze, zapoznaj się z przewodnikiem aktualizacji na stronie https://gohugo.io/getting-started/installing/#upgrade-hugo.\n\nJeśli wdrażasz na platformie zewnętrznej, skonfiguruj odpowiednio wersję Hugo." hugoExtendedWarn = "Wersja Hugo Extended jest wymagana do obsługi SCSS." -configurationError = "Błąd konfiguracji\nNie skonfigurowałeś jeszcze poprawnie parametru wersji FixIt. Zobacz https://fixit.lruihao.cn/documentation/basics/#theme-configuration" +configurationError = "Błąd konfiguracji\nNie skonfigurowałeś jeszcze poprawnie parametru wersji FixIt. Zobacz https://fixit.lruihao.cn/docs/getting-started/configuration/params/" compatibilityError = "Błąd zgodności ({{ .From }} -> {{ .To }}):\nMasz niekompatybilną aktualizację. Zobacz https://github.com/hugo-fixit/FixIt/releases" devVersionWarn = "Używasz wersji deweloperskiej FixIt. Proszę rozważyć użycie stabilnej wersji.\nZobacz https://github.com/hugo-fixit/FixIt/releases" devEnvWarn = "Obecne środowisko to \"rozwój\". \"System komentarzy\", \"PWA\", \"CDN\", \"odcisk palca\" i \"analiza\" będą wyłączone." diff --git a/i18n/pt-BR.toml b/i18n/pt-BR.toml index cfa430b0..c873d5d0 100644 --- a/i18n/pt-BR.toml +++ b/i18n/pt-BR.toml @@ -6,7 +6,7 @@ [init] hugoVersionError = "A versão do Hugo é muito baixa.\n\nA versão atual do Hugo é {{ .Current }}, a versão mínima suportada pelo FixIt é {{ .Minimal }}.\n\nSe você está executando o Hugo em seu computador, consulte https://gohugo.io/getting-started/installing/#upgrade-hugo para obter um guia de atualização.\n\nSe você está implantando em uma plataforma de terceiros, configure a versão do Hugo adequadamente." hugoExtendedWarn = "A versão Hugo Extended é necessária para o suporte a SCSS." -configurationError = "Erro de configuração\nVocê ainda não configurou o parâmetro da versão do FixIt corretamente. Consulte https://fixit.lruihao.cn/documentation/basics/#theme-configuration" +configurationError = "Erro de configuração\nVocê ainda não configurou o parâmetro da versão do FixIt corretamente. Consulte https://fixit.lruihao.cn/docs/getting-started/configuration/params/" compatibilityError = "Erro de compatibilidade ({{ .From }} -> {{ .To }}):\nVocê tem uma atualização incompatível. Consulte https://github.com/hugo-fixit/FixIt/releases" devVersionWarn = "Você está usando a versão de desenvolvedor do FixIt. Por favor, use uma versão estável. \nConsulte https://github.com/hugo-fixit/FixIt/releases" devEnvWarn = "O ambiente atual é \"development\". O \"comment system\", \"PWA\", \"CDN\", \"fingerprint\" e \"analytics\" serão desativados." diff --git a/i18n/ro.toml b/i18n/ro.toml index 84c89b57..00347ce0 100644 --- a/i18n/ro.toml +++ b/i18n/ro.toml @@ -6,7 +6,7 @@ [init] hugoVersionError = "Versiunea Hugo este prea veche.\n\nVersiunea curentă Hugo este {{ .Current }}, versiunea minimă compatibilă cu FixIt este {{ .Minimal }}.\n\nDacă rulați Hugo pe propriul computer, consultați https://gohugo.io/getting-started/installing/#upgrade-hugo pentru ghidul de actualizare.\n\nDacă implementați pe o platformă terță, configurați versiunea Hugo corespunzător." hugoExtendedWarn = "Versiunea Hugo Extended este necesară pentru suportul SCSS." -configurationError = "Eroare de configurare\nNu ați configurat corect parametrul versiunii FixIt. Consultați https://fixit.lruihao.cn/documentation/basics/#theme-configuration" +configurationError = "Eroare de configurare\nNu ați configurat corect parametrul versiunii FixIt. Consultați https://fixit.lruihao.cn/docs/getting-started/configuration/params/" compatibilityError = "Eroare de compatibilitate ({{ .From }} -> {{ .To }}):\nAveți o actualizare incompatibilă. Consultați https://github.com/hugo-fixit/FixIt/releases" devVersionWarn = "Utilizați o versiune de dezvoltare a FixIt. Vă rugăm să luați în considerare utilizarea unei versiuni stabile.\nConsultați https://github.com/hugo-fixit/FixIt/releases" devEnvWarn = "Mediul curent este \"dezvoltare\". \"Sistemul de comentarii\", \"PWA\", \"CDN\", \"amprentă\" și \"analize\" vor fi dezactivate." diff --git a/i18n/ru.toml b/i18n/ru.toml index 430958f5..d7f55715 100644 --- a/i18n/ru.toml +++ b/i18n/ru.toml @@ -6,7 +6,7 @@ [init] hugoVersionError = "Версия Hugo слишком низкая.\n\nТекущая версия Hugo — {{ .Current }}, минимальная поддерживаемая версия для FixIt — {{ .Minimal }}.\n\nЕсли вы запускаете Hugo на своём компьютере, ознакомьтесь с руководством по обновлению по адресу https://gohugo.io/getting-started/installing/#upgrade-hugo.\n\nЕсли вы развёртываете на сторонней платформе, настройте версию Hugo соответствующим образом." hugoExtendedWarn = "Для поддержки SCSS необходима версия Hugo Extended." -configurationError = "Ошибка конфигурации\nВы еще не настроили параметр версии FixIt правильно. См. https://fixit.lruihao.cn/documentation/basics/#theme-configuration" +configurationError = "Ошибка конфигурации\nВы еще не настроили параметр версии FixIt правильно. См. https://fixit.lruihao.cn/docs/getting-started/configuration/params/?lang=russian" compatibilityError = "Ошибка совместимости ({{ .From }} -> {{ .To }}):\nУ вас есть несовместимое обновление. См. https://github.com/hugo-fixit/FixIt/releases" devVersionWarn = "Вы используете версию разработки FixIt. Пожалуйста, рассмотрите возможность использования стабильной версии.\nСм. https://github.com/hugo-fixit/FixIt/releases" devEnvWarn = "Текущая среда - \"разработка\". \"Система комментариев\", \"PWA\", \"CDN\", \"отпечаток\" и \"аналитика\" будут отключены." diff --git a/i18n/sr.toml b/i18n/sr.toml index f11e92ca..2a123d12 100644 --- a/i18n/sr.toml +++ b/i18n/sr.toml @@ -6,7 +6,7 @@ [init] hugoVersionError = "Верзија Hugo-а је прениска.\n\nТренутна верзија Hugo-а је {{ .Current }}, а минимална подржана верзија за FixIt је {{ .Minimal }}.\n\nАко покрећете Hugo на свом рачунару, погледајте https://gohugo.io/getting-started/installing/#upgrade-hugo за водич за надоградњу.\n\nАко постављате на платформу треће стране, конфигуришите верзију Hugo-а у складу с тим." hugoExtendedWarn = "Верзија Hugo Extended је неопходна за подршку SCSS-а." -configurationError = "Грешка у конфигурацији\nНисте правилно конфигурисали параметар верзије FixIt. Погледајте https://fixit.lruihao.cn/documentation/basics/#theme-configuration" +configurationError = "Грешка у конфигурацији\nНисте правилно конфигурисали параметар верзије FixIt. Погледајте https://fixit.lruihao.cn/docs/getting-started/configuration/params/" compatibilityError = "Грешка у компатибилности ({{ .From }} -> {{ .To }}):\nИмате некомпатибилно ажурирање. Погледајте https://github.com/hugo-fixit/FixIt/releases" devVersionWarn = "Користите развојну верзију FixIt. Размотрите коришћење стабилне верзије.\nПогледајте https://github.com/hugo-fixit/FixIt/releases" devEnvWarn = "Тренутно окружење је \"развојно\". \"Систем коментара\", \"PWA\", \"CDN\", \"отисак прста\" и \"аналитика\" ће бити онемогућени." diff --git a/i18n/vi.toml b/i18n/vi.toml index 6828c4d3..6b6faf05 100644 --- a/i18n/vi.toml +++ b/i18n/vi.toml @@ -5,7 +5,7 @@ [init] hugoVersionError = "Phiên bản Hugo quá thấp.\n\nPhiên bản Hugo hiện tại là {{ .Current }}, phiên bản tối thiểu được hỗ trợ cho FixIt là {{ .Minimal }}.\n\nNếu bạn đang chạy Hugo trên máy tính của mình, hãy xem https://gohugo.io/getting-started/installing/#upgrade-hugo để biết hướng dẫn nâng cấp.\n\nNếu bạn đang triển khai trên nền tảng của bên thứ ba, vui lòng cấu hình phiên bản Hugo cho phù hợp." hugoExtendedWarn = "Phiên bản Hugo Extended là cần thiết để hỗ trợ SCSS." -configurationError = "Lỗi cấu hình\nBạn chưa cấu hình tham số phiên bản FixIt đúng cách. Xem https://fixit.lruihao.cn/documentation/basics/#theme-configuration" +configurationError = "Lỗi cấu hình\nBạn chưa cấu hình tham số phiên bản FixIt đúng cách. Xem https://fixit.lruihao.cn/docs/getting-started/configuration/params/" compatibilityError = "Lỗi tương thích ({{ .From }} -> {{ .To }}):\nBạn có một bản cập nhật không tương thích. Xem https://github.com/hugo-fixit/FixIt/releases" devVersionWarn = "Bạn đang sử dụng một phiên bản phát triển của FixIt. Vui lòng xem xét sử dụng một phiên bản ổn định.\nXem https://github.com/hugo-fixit/FixIt/releases" devEnvWarn = "Môi trường hiện tại là \"development\". \"Hệ thống bình luận\", \"PWA\", \"CDN\", \"vân tay\" và \"thống kê\" sẽ bị vô hiệu hóa." diff --git a/i18n/zh-CN.toml b/i18n/zh-CN.toml index 77c5e952..968918b6 100644 --- a/i18n/zh-CN.toml +++ b/i18n/zh-CN.toml @@ -6,7 +6,7 @@ [init] hugoVersionError = "Hugo 版本过低。\n\n目前使用的 Hugo 版本为 {{ .Current }},FixIt 支持的最低的 Hugo 版本为 {{ .Minimal }}。\n\n如果你正在自己的计算机上运行 Hugo,请访问 https://gohugo.io/getting-started/installing/#upgrade-hugo 以查阅升级指南。\n\n如果你正在第三方平台上部署,请按照相应文档配置 Hugo 版本。" hugoExtendedWarn = "需要使用 Hugo Extended 版本来获得 SCSS 支持。" -configurationError = "配置文件错误\n你还没有正确配置 FixIt 的版本参数。参考 https://fixit.lruihao.cn/zh-cn/documentation/basics/#theme-configuration" +configurationError = "配置文件错误\n你还没有正确配置 FixIt 的版本参数。参考 https://fixit.lruihao.cn/zh-cn/docs/getting-started/configuration/params/" compatibilityError = "兼容性错误 ({{ .From }} -> {{ .To }}):\n你进行了一次不兼容的更新。参考 https://github.com/hugo-fixit/FixIt/releases" devVersionWarn = "你正在使用开发版的 FixIt,请考虑使用稳定版。\n见 https://github.com/hugo-fixit/FixIt/releases" devEnvWarn = "当前运行环境是“development”。“评论系统”、“PWA”、“CDN”、“fingerprint”和“统计”不会启用。" diff --git a/i18n/zh-TW.toml b/i18n/zh-TW.toml index 500ceec7..e4d9ffbb 100644 --- a/i18n/zh-TW.toml +++ b/i18n/zh-TW.toml @@ -6,7 +6,7 @@ [init] hugoVersionError = "Hugo 版本過低。\n\n目前使用的 Hugo 版本為 {{ .Current }},FixIt 支持的最老的 Hugo 版本為 {{ .Minimal }}。\n\n如果你正在自己的計算機上運行 Hugo,請訪問 https://gohugo.io/getting-started/installing/#upgrade-hugo 以查閱升級指南。\n\n如果你正在第三方平台上部署,請按照相應文檔配置 Hugo 版本。" hugoExtendedWarn = "需要使用 Hugo Extended 版本來獲得 SCSS 支持。" -configurationError = "配置文件錯誤\n你還沒有正確配置 FixIt 的版本參數。參考 https://fixit.lruihao.cn/zh-cn/documentation/basics/#theme-configuration" +configurationError = "配置文件錯誤\n你還沒有正確配置 FixIt 的版本參數。參考 https://fixit.lruihao.cn/zh-cn/docs/getting-started/configuration/params/?lang=chinese_traditional" compatibilityError = "兼容性錯誤 ({{ .From }} -> {{ .To }}):\n你進行了一次不兼容的更新。参考 https://github.com/hugo-fixit/FixIt/releases" devVersionWarn = "你正在使用開發版的 FixIt,請考慮使用穩定版。\n見 https://github.com/hugo-fixit/FixIt/releases" devEnvWarn = "當前運行環境是“development”。“評論系統”、“PWA”、“CDN”、“fingerprint”和“統計”不會啟用。" diff --git a/layouts/_partials/init/detection-encryption.html b/layouts/_partials/init/detection-encryption.html index 685e8912..2efc55a7 100644 --- a/layouts/_partials/init/detection-encryption.html +++ b/layouts/_partials/init/detection-encryption.html @@ -1,11 +1,9 @@ -{{- if eq .Site hugo.Sites.Default -}} - {{- $encryptedPages := slice -}} - {{- range .Site.RegularPages -}} - {{- if or .Params.password (.Store.Get "hasEncryptor") -}} - {{- $encryptedPages = $encryptedPages | append (printf " • %s: %s" .Title .Permalink) -}} - {{- end -}} - {{- end -}} - {{- with $encryptedPages -}} - {{- warnf "[FixIt] %s\n%s\n%s" (T "single.encryptionWarning") (delimit . "\n") (T "single.encryptionCommand") -}} +{{- $encryptedPages := slice -}} +{{- range .Site.RegularPages -}} + {{- if or .Params.password (.Store.Get "hasEncryptor") -}} + {{- $encryptedPages = $encryptedPages | append (printf " • %s: %s" .Title .Permalink) -}} {{- end -}} {{- end -}} +{{- with $encryptedPages -}} + {{- warnf "[FixIt] %s\n%s\n%s" (T "single.encryptionWarning") (delimit . "\n") (T "single.encryptionCommand") -}} +{{- end -}} diff --git a/layouts/_partials/init/index.html b/layouts/_partials/init/index.html index 1c0611c1..6e37c6fa 100644 --- a/layouts/_partials/init/index.html +++ b/layouts/_partials/init/index.html @@ -1,4 +1,4 @@ -{{- hugo.Store.Set "version" "v1.0.0-mrgtrffv" -}} +{{- hugo.Store.Set "version" "v1.0.0-mriu2jcf" -}} {{- .Store.Set "this" dict -}} {{- partial "init/detection-env.html" . -}} diff --git a/layouts/_partials/plugin/admonition.html b/layouts/_partials/plugin/admonition.html index aa6adc71..9ed7c147 100644 --- a/layouts/_partials/plugin/admonition.html +++ b/layouts/_partials/plugin/admonition.html @@ -6,7 +6,7 @@ @param {String} [.Title] - The title of the admonition box @param {Boolean} [.Open] - Whether the admonition box is open, default is true @param {Boolean} [.Foldable] - Whether the admonition box is foldable, default is true - For custom admonitions, see https://fixit.lruihao.cn/documentation/content-management/shortcodes/extended/admonition/#customize-admonitions + For custom admonitions, see https://fixit.lruihao.cn/docs/content-management/shortcodes/extended/admonition/#customize-admonitions */ -}} {{- $iconMap := dict diff --git a/layouts/_shortcodes/file-tree.html b/layouts/_shortcodes/file-tree.html index e1dec4ee..bce0d87f 100644 --- a/layouts/_shortcodes/file-tree.html +++ b/layouts/_shortcodes/file-tree.html @@ -1,6 +1,6 @@ {{- /* Renders an interactive file tree structure from inline content, resources, data files, or filesystem - See https://fixit.lruihao.cn/documentation/content-management/shortcodes/extended/file-tree/ + See https://fixit.lruihao.cn/docs/content-management/shortcodes/extended/file-tree/ @param {String} [path="/"] - The path to scan in filesystem (relative to project root or contentDir) @param {Int} [level=1] - The expand level of the tree (expand all: -1, collapse all: 0) diff --git a/layouts/_shortcodes/tabs.html b/layouts/_shortcodes/tabs.html index f76f91fe..06f9a110 100644 --- a/layouts/_shortcodes/tabs.html +++ b/layouts/_shortcodes/tabs.html @@ -1,6 +1,6 @@ {{- /* Renders a tabbed interface with multiple tabs and their corresponding content. - See https://fixit.lruihao.cn/documentation/content-management/shortcodes/extended/tabs/ + See https://fixit.lruihao.cn/docs/content-management/shortcodes/extended/tabs/ @param {Int} [defaultTab=0] - The index of the tab to be active by default (0-based) @param {String} [type="underline"] - The style type of the tabs ("underline", "pill", "card", "segment", etc.)