diff --git a/CHANGELOG.md b/CHANGELOG.md index a2f38118..eeac1727 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +## [1.5.3] - 2021-11-18 + +### Changed + +- Updated Chinese translation ([#32](https://github.com/jpanther/congo/pull/32)) + +### Fixed + +- Article pagination uses date of current article ([#32](https://github.com/jpanther/congo/pull/32)) + ## [1.5.2] - 2021-11-10 ### Added @@ -170,7 +180,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Advanced customisation using simple Tailwind colour definitions and styles - Fully documented -[unreleased]: https://github.com/jpanther/Congo/compare/v1.5.2...HEAD +[unreleased]: https://github.com/jpanther/congo/compare/v1.5.3...HEAD +[1.5.3]: https://github.com/jpanther/congo/compare/v1.5.2...v1.5.3 [1.5.2]: https://github.com/jpanther/Congo/compare/v1.5.1...v1.5.2 [1.5.1]: https://github.com/jpanther/Congo/compare/v1.5.0...v1.5.1 [1.5.0]: https://github.com/jpanther/Congo/compare/v1.4.0...v1.5.0 diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 081c87dc..ce5aae6c 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1,4 +1,4 @@ -/*! Congo v1.5.2 | MIT License | https://github.com/jpanther/congo */ +/*! Congo v1.5.3 | MIT License | https://github.com/jpanther/congo */ /*! tailwindcss v2.2.19 | MIT License | https://tailwindcss.com */ diff --git a/assets/css/main.css b/assets/css/main.css index f6f8b5d4..aa53939f 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,4 +1,4 @@ -/*! Congo v1.5.2 | MIT License | https://github.com/jpanther/congo */ +/*! Congo v1.5.3 | MIT License | https://github.com/jpanther/congo */ @tailwind base; @tailwind components; 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 }} diff --git a/netlify.toml b/netlify.toml index 093a5e25..58957ebd 100644 --- a/netlify.toml +++ b/netlify.toml @@ -8,17 +8,17 @@ HUGO_THEME = "repo" TZ = "Australia/Melbourne" [context.production.environment] -HUGO_VERSION = "0.89.0" +HUGO_VERSION = "0.89.3" HUGO_ENV = "production" [context.deploy-preview] command = "cd exampleSite && hugo --gc --minify -b $DEPLOY_PRIME_URL" [context.deploy-preview.environment] -HUGO_VERSION = "0.89.0" +HUGO_VERSION = "0.89.3" [context.branch-deploy] command = "cd exampleSite && hugo --gc --minify -b $DEPLOY_PRIME_URL" [context.branch-deploy.environment] -HUGO_VERSION = "0.89.0" +HUGO_VERSION = "0.89.3" diff --git a/package.json b/package.json index 680feb5c..6b51cdf2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hugo-congo-theme", - "version": "1.5.2", + "version": "1.5.3", "description": "Congo theme for Hugo", "main": "index.js", "scripts": {