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 - id: page_next
translation: "Next" translation: "Next"
- id: edit_on_github - id: edit_this_page
translation: "Edit on GitHub" translation: "Edit this page"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,3 +1,3 @@
{{- if and .Site.Params.repo .File -}} {{- 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 -}} {{- end -}}