Skip to content

Commit f8eae96

Browse files
authored
docs: update file paths for hugo new template system (#821)
1 parent ec97808 commit f8eae96

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

exampleSite/content/docs/advanced/customization.fa.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,14 +221,14 @@ hugo gen chromastyles --style=github
221221
می‌توانید اسکریپت‌های سفارشی را به انتهای head برای هر صفحه با افزودن فایل زیر اضافه کنید:
222222

223223
```
224-
layouts/partials/custom/head-end.html
224+
layouts/_partials/custom/head-end.html
225225
```
226226

227227
## بخش اضافی سفارشی در پاورقی
228228

229-
می‌توانید بخش اضافی در پاورقی با ایجاد یک فایل `layouts/partials/custom/footer.html` در سایت خود اضافه کنید.
229+
می‌توانید بخش اضافی در پاورقی با ایجاد یک فایل `layouts/_partials/custom/footer.html` در سایت خود اضافه کنید.
230230

231-
```html {filename="layouts/partials/custom/footer.html"}
231+
```html {filename="layouts/_partials/custom/footer.html"}
232232
<!-- عنصر پاورقی شما اینجا -->
233233
```
234234

exampleSite/content/docs/advanced/customization.ja.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,14 +221,14 @@ hugo gen chromastyles --style=github
221221
すべてのページのheadの終わりにカスタムスクリプトを追加するには、以下のファイルを作成します:
222222

223223
```
224-
layouts/partials/custom/head-end.html
224+
layouts/_partials/custom/head-end.html
225225
```
226226

227227
## フッターへのカスタムセクション追加
228228

229-
フッターに追加セクションを追加するには、サイト内に`layouts/partials/custom/footer.html`ファイルを作成します。
229+
フッターに追加セクションを追加するには、サイト内に`layouts/_partials/custom/footer.html`ファイルを作成します。
230230

231-
```html {filename="layouts/partials/custom/footer.html"}
231+
```html {filename="layouts/_partials/custom/footer.html"}
232232
<!-- ここにフッター要素を追加 -->
233233
```
234234

exampleSite/content/docs/advanced/customization.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,14 +221,14 @@ To override the default syntax highlighting theme, we can add the generated styl
221221
You may add custom scripts to the end of the head for every page by adding the following file:
222222

223223
```
224-
layouts/partials/custom/head-end.html
224+
layouts/_partials/custom/head-end.html
225225
```
226226

227227
## Custom Extra Section in Footer
228228

229-
You can add extra section in the footer by creating a file `layouts/partials/custom/footer.html` in your site.
229+
You can add extra section in the footer by creating a file `layouts/_partials/custom/footer.html` in your site.
230230

231-
```html {filename="layouts/partials/custom/footer.html"}
231+
```html {filename="layouts/_partials/custom/footer.html"}
232232
<!-- Your footer element here -->
233233
```
234234

exampleSite/content/docs/advanced/customization.zh-cn.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,14 +221,14 @@ hugo gen chromastyles --style=github
221221
您可以通过添加以下文件在每个页面的 head 末尾添加自定义脚本:
222222

223223
```
224-
layouts/partials/custom/head-end.html
224+
layouts/_partials/custom/head-end.html
225225
```
226226

227227
## 自定义页脚额外部分
228228

229-
您可以通过在站点中创建 `layouts/partials/custom/footer.html` 文件来添加页脚的额外部分。
229+
您可以通过在站点中创建 `layouts/_partials/custom/footer.html` 文件来添加页脚的额外部分。
230230

231-
```html {filename="layouts/partials/custom/footer.html"}
231+
```html {filename="layouts/_partials/custom/footer.html"}
232232
<!-- 您的页脚元素放在这里 -->
233233
```
234234

0 commit comments

Comments
 (0)