Signed-off-by: Xinyu Zhou <i@sourcehut.net>
This commit is contained in:
Xinyu Zhou 2022-11-30 16:52:48 +08:00
parent d39fac189a
commit 4de22e4bae
No known key found for this signature in database
GPG Key ID: D8E8DD6C9CC24EB6
8 changed files with 13 additions and 13 deletions

View File

@ -13,5 +13,5 @@
- id: page_next
translation: "Next"
- id: edit_on_github
translation: "Edit on GitHub"
- id: edit_this_page
translation: "Edit this page"

View File

@ -13,5 +13,5 @@
- id: page_next
translation: "Volgende"
- id: edit_on_github
translation: "Bewerken op GitHub"
- id: edit_this_page
translation: "Bewerk deze pagina"

View File

@ -13,5 +13,5 @@
- id: page_next
translation: "Próximo"
- id: edit_on_github
translation: "Edite em GitHub"
- id: edit_this_page
translation: "Edite essa página"

View File

@ -13,5 +13,5 @@
- id: page_next
translation: "后一页"
- id: edit_on_github
translation: "在 GitHub 上编辑此页面"
- id: edit_this_page
translation: "编辑此页面"

View File

@ -13,5 +13,5 @@
- id: page_next
translation: "下一頁"
- id: edit_on_github
translation: "在 GitHub 上編輯此頁面"
- id: edit_this_page
translation: "編輯此頁面"

View File

@ -11,7 +11,7 @@
<div class="content">
{{ .Content }}
<hr>
{{ partial "edit-this" . }}
{{ partial "edit_this_page" . }}
</div>
</div>
</div>

View File

@ -11,7 +11,7 @@
<div class=" content">
{{ .Content }}
<hr>
{{ partial "edit-this" . }}
{{ partial "edit_this_page" . }}
</div>
</div>
</div>

View File

@ -1,3 +1,3 @@
{{- if and .Site.Params.repo .File -}}
<a href="{{ .Site.Params.repo }}/edit/main/{{ .Site.Params.docContentPath }}/{{ .File.Path }}">{{- T "edit_on_github" -}}</a>
<a href="{{ .Site.Params.repo }}/edit/main/{{ .Site.Params.docContentPath }}/{{ .File.Path }}">{{- T "edit_this_page" -}}</a>
{{- end -}}