diff --git a/i18n/zh.yaml b/i18n/zh.yaml index 18bb1e52..175208a0 100644 --- a/i18n/zh.yaml +++ b/i18n/zh.yaml @@ -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" diff --git a/layouts/partials/article-pagination.html b/layouts/partials/article-pagination.html index 40134165..d6af75d4 100644 --- a/layouts/partials/article-pagination.html +++ b/layouts/partials/article-pagination.html @@ -13,7 +13,7 @@ > {{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }} - {{ partial "meta/date.html" . }} + {{ partial "meta/date.html" .NextInSection }} {{ end }} @@ -29,7 +29,7 @@ > {{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }} - {{ partial "meta/date.html" . }} + {{ partial "meta/date.html" .PrevInSection }} {{ end }}