From f8eae96c11ea87bda2f2d8ca56d13558fda411dc Mon Sep 17 00:00:00 2001 From: Kowyo Date: Fri, 5 Sep 2025 02:17:28 +0800 Subject: [PATCH] docs: update file paths for hugo new template system (#821) --- exampleSite/content/docs/advanced/customization.fa.md | 6 +++--- exampleSite/content/docs/advanced/customization.ja.md | 6 +++--- exampleSite/content/docs/advanced/customization.md | 6 +++--- exampleSite/content/docs/advanced/customization.zh-cn.md | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/exampleSite/content/docs/advanced/customization.fa.md b/exampleSite/content/docs/advanced/customization.fa.md index 3eacbca..02f7e5a 100644 --- a/exampleSite/content/docs/advanced/customization.fa.md +++ b/exampleSite/content/docs/advanced/customization.fa.md @@ -221,14 +221,14 @@ hugo gen chromastyles --style=github می‌توانید اسکریپت‌های سفارشی را به انتهای head برای هر صفحه با افزودن فایل زیر اضافه کنید: ``` -layouts/partials/custom/head-end.html +layouts/_partials/custom/head-end.html ``` ## بخش اضافی سفارشی در پاورقی -می‌توانید بخش اضافی در پاورقی با ایجاد یک فایل `layouts/partials/custom/footer.html` در سایت خود اضافه کنید. +می‌توانید بخش اضافی در پاورقی با ایجاد یک فایل `layouts/_partials/custom/footer.html` در سایت خود اضافه کنید. -```html {filename="layouts/partials/custom/footer.html"} +```html {filename="layouts/_partials/custom/footer.html"} ``` diff --git a/exampleSite/content/docs/advanced/customization.ja.md b/exampleSite/content/docs/advanced/customization.ja.md index 925d742..4080594 100644 --- a/exampleSite/content/docs/advanced/customization.ja.md +++ b/exampleSite/content/docs/advanced/customization.ja.md @@ -221,14 +221,14 @@ hugo gen chromastyles --style=github すべてのページのheadの終わりにカスタムスクリプトを追加するには、以下のファイルを作成します: ``` -layouts/partials/custom/head-end.html +layouts/_partials/custom/head-end.html ``` ## フッターへのカスタムセクション追加 -フッターに追加セクションを追加するには、サイト内に`layouts/partials/custom/footer.html`ファイルを作成します。 +フッターに追加セクションを追加するには、サイト内に`layouts/_partials/custom/footer.html`ファイルを作成します。 -```html {filename="layouts/partials/custom/footer.html"} +```html {filename="layouts/_partials/custom/footer.html"} ``` diff --git a/exampleSite/content/docs/advanced/customization.md b/exampleSite/content/docs/advanced/customization.md index fc5a2e1..fc55d33 100644 --- a/exampleSite/content/docs/advanced/customization.md +++ b/exampleSite/content/docs/advanced/customization.md @@ -221,14 +221,14 @@ To override the default syntax highlighting theme, we can add the generated styl You may add custom scripts to the end of the head for every page by adding the following file: ``` -layouts/partials/custom/head-end.html +layouts/_partials/custom/head-end.html ``` ## Custom Extra Section in Footer -You can add extra section in the footer by creating a file `layouts/partials/custom/footer.html` in your site. +You can add extra section in the footer by creating a file `layouts/_partials/custom/footer.html` in your site. -```html {filename="layouts/partials/custom/footer.html"} +```html {filename="layouts/_partials/custom/footer.html"} ``` diff --git a/exampleSite/content/docs/advanced/customization.zh-cn.md b/exampleSite/content/docs/advanced/customization.zh-cn.md index 2299816..87e5faf 100644 --- a/exampleSite/content/docs/advanced/customization.zh-cn.md +++ b/exampleSite/content/docs/advanced/customization.zh-cn.md @@ -221,14 +221,14 @@ hugo gen chromastyles --style=github 您可以通过添加以下文件在每个页面的 head 末尾添加自定义脚本: ``` -layouts/partials/custom/head-end.html +layouts/_partials/custom/head-end.html ``` ## 自定义页脚额外部分 -您可以通过在站点中创建 `layouts/partials/custom/footer.html` 文件来添加页脚的额外部分。 +您可以通过在站点中创建 `layouts/_partials/custom/footer.html` 文件来添加页脚的额外部分。 -```html {filename="layouts/partials/custom/footer.html"} +```html {filename="layouts/_partials/custom/footer.html"} ```