From 92f4a8d41d2cd897bd073a776e922b63d8fc119f Mon Sep 17 00:00:00 2001 From: canstand Date: Tue, 16 Nov 2021 14:05:38 +0800 Subject: [PATCH 1/5] :globe_with_meridians: Update zh i18n --- i18n/zh.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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" From d70c63d800b2b5ca6e0fab92985116ee0672e425 Mon Sep 17 00:00:00 2001 From: canstand Date: Tue, 16 Nov 2021 14:08:22 +0800 Subject: [PATCH 2/5] :bug: Fix incorrect pagination dates --- layouts/partials/article-pagination.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }} From 43324e0ad76efc6a798e4dc09f55f877613ec9f7 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Tue, 16 Nov 2021 17:46:40 +1100 Subject: [PATCH 3/5] =?UTF-8?q?=F0=9F=93=9D=20Update=20changelog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2f38118..efca862e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +### 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 From 9c591c2d405b1041ea9e5594c19f5160512cb41e Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Thu, 18 Nov 2021 09:46:27 +1100 Subject: [PATCH 4/5] =?UTF-8?q?=F0=9F=92=9A=20Update=20Netlify=20to=20late?= =?UTF-8?q?st=20Hugo=20release?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- netlify.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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" From 38e30f3aed87958904b134e39be66f9ac0d92c40 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Thu, 18 Nov 2021 09:49:16 +1100 Subject: [PATCH 5/5] =?UTF-8?q?=F0=9F=94=A8=20Preparing=20release=20v1.5.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 5 ++++- assets/css/compiled/main.css | 2 +- assets/css/main.css | 2 +- package.json | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index efca862e..eeac1727 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ 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)) @@ -178,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/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": {