docs: update file paths for hugo new template system (#821)

This commit is contained in:
Kowyo
2025-09-05 02:17:28 +08:00
committed by GitHub
parent ec97808b69
commit f8eae96c11
4 changed files with 12 additions and 12 deletions

View File

@@ -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"}
<!-- ここにフッター要素を追加 -->
```