🔀 Merge pull request #32 from canstand/dev

Fix pagination uses the date of current article; update zh i18n
pull/37/head
James Panther 2021-11-16 17:41:49 +11:00 committed by GitHub
commit b62816ee43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -15,8 +15,8 @@ error:
404_description: "您请求的页面似乎不存在。"
footer:
# dark_appearance: "Switch to dark appearance"
# light_appearance: "Switch to light appearance"
dark_appearance: "切换为深色模式"
light_appearance: "切换为浅色模式"
powered_by: "由 {{ .Hugo }} & {{ .Congo }} 强力驱动"
list:
@ -27,7 +27,7 @@ sharing:
email: "通过电子邮件发送"
facebook: "分享到 Facebook"
linkedin: "分享到 LinkedIn"
# pinterest: "Pin on Pinterest"
pinterest: "钉到 Pinterest"
reddit: "提交到 Reddit"
twitter: "分享到 Twitter"

View File

@ -13,7 +13,7 @@
>
<span class="mt-[0.1rem] text-xs text-neutral-400 dark:text-neutral-500">
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
{{ partial "meta/date.html" . }}
{{ partial "meta/date.html" .NextInSection }}
{{ end }}
</span>
</span>
@ -29,7 +29,7 @@
>
<span class="mt-[0.1rem] text-xs text-neutral-400 dark:text-neutral-500">
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
{{ partial "meta/date.html" . }}
{{ partial "meta/date.html" .PrevInSection }}
{{ end }}
</span>
</span>