From 39a6c1ce8769d822f03f2f5f0302ff4d8ef7c9bb Mon Sep 17 00:00:00 2001 From: Peter Borsa Date: Sat, 9 Apr 2022 09:28:44 +0200 Subject: [PATCH 01/11] Add hungarian translation --- i18n/hu.yaml | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 i18n/hu.yaml diff --git a/i18n/hu.yaml b/i18n/hu.yaml new file mode 100644 index 00000000..333e6e9e --- /dev/null +++ b/i18n/hu.yaml @@ -0,0 +1,55 @@ +article: + anchor_label: "Horgony" + date: "{{ .Date }}" + date_updated: "Frissítve: {{ .Date }}" + draft: "Vázlat" + edit_title: "Tartalom szerkesztése" + reading_time: + one: "{{ .Count }} perc" + other: "{{ .Count }} perc" + reading_time_title: "Olvasási idő" + table_of_contents: "Tartalomjegyzék" + word_count: + one: "{{ .Count }} szó" + other: "{{ .Count }} szó" + +author: + byline_title: "Szerző" + +code: + copy: "Másolás" + copied: "Másolva" + +error: + 404_title: "Az oldal nem található :confused:" + 404_error: "404-es hiba" + 404_description: "Úgy tűnik a kért oldal nem található." + +footer: + dark_appearance: "Váltás sötét megjelenésre" + light_appearance: "Váltás világos megjelenésre" + powered_by: "Működteti {{ .Hugo }} & {{ .Congo }}" + +list: + externalurl_title: "Link külső oldalra" + no_articles: "Itt még nincsenek tartalmak." + +nav: + scroll_to_top_title: "Görgess fel" + skip_to_main: "Ugrás a tartalomra" + +search: + open_button_title: "Keresés (/)" + close_button_title: "Bezárás (Esc)" + input_placeholder: "Keresés" + +sharing: + email: "Küldés emailben" + facebook: "Megosztás a Facebookon" + linkedin: "Megosztás a LinkedInen" + pinterest: "Megosztás a Pinteresten" + reddit: "Megosztás a Redditen" + twitter: "Megosztás a Twitteren" + +shortcode: + recent_articles: "Friss" From f0e7e520d895915f1b5ffa0494c777f2a546d3fc Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Mon, 11 Apr 2022 09:03:38 +1000 Subject: [PATCH 02/11] =?UTF-8?q?=F0=9F=93=9D=20Update=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ exampleSite/content/docs/configuration.md | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e05e859..7b27b4dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +### Added + +- Hungarian translation ([#170](https://github.com/jpanther/congo/pull/170)) + ## [2.1.2] - 2022-04-08 ### Added diff --git a/exampleSite/content/docs/configuration.md b/exampleSite/content/docs/configuration.md index 9ff44254..e3b8ef51 100644 --- a/exampleSite/content/docs/configuration.md +++ b/exampleSite/content/docs/configuration.md @@ -55,6 +55,7 @@ The theme currently supports the following languages by default: | :fr: French | `fr` | | :de: German | `de` | | :israel: Hebrew | `he` | +| :hungary: Hungarian | `hu` | | :brazil: Portuguese (Brazil) | `pt-br` | | :portugal: Portuguese (Portugal) | `pt-pt` | | :romania: Romanian | `ro` | From b97bd9aeefd2a4bee6e6ecef10216dd848ab6ecd Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Mon, 11 Apr 2022 09:26:47 +1000 Subject: [PATCH 03/11] =?UTF-8?q?=F0=9F=91=B7=20Add=20Dependabot=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/dependabot.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..3aa06918 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,22 @@ +# GitHub Dependabot +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "daily" + time: "09:00" + timezone: "Australia/Melbourne" + commit-message: + prefix: "📌" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "sunday" + time: "09:00" + timezone: "Australia/Melbourne" + commit-message: + prefix: "👷" From 2486d09fe0c5cce80582e848344cd4b23cc44c39 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 10 Apr 2022 23:27:07 +0000 Subject: [PATCH 04/11] =?UTF-8?q?=F0=9F=91=B7=20Bump=20actions/labeler=20f?= =?UTF-8?q?rom=203=20to=204?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/labeler](https://github.com/actions/labeler) from 3 to 4. - [Release notes](https://github.com/actions/labeler/releases) - [Commits](https://github.com/actions/labeler/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/labeler dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/label.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index 2506d7f9..8fb77bf9 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Label - uses: actions/labeler@v3 + uses: actions/labeler@v4 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" configuration-path: .github/labeller.yml From 164f837139ea2d2ad2ffbc2cea508e986215b066 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 10 Apr 2022 23:27:09 +0000 Subject: [PATCH 05/11] =?UTF-8?q?=F0=9F=91=B7=20Bump=20actions/checkout=20?= =?UTF-8?q?from=202=20to=203?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/gh-pages.yml | 2 +- .github/workflows/test-build.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 9b43a919..7ba25e23 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -13,7 +13,7 @@ jobs: group: ${{ github.workflow }}-${{ github.ref }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: true fetch-depth: 0 diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 0cb59ca5..8000ec91 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -10,7 +10,7 @@ jobs: group: ${{ github.workflow }}-${{ github.ref }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: true fetch-depth: 0 From eee35a5a9976fdbda09d7c68e6e784a2e2a03def Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Mon, 11 Apr 2022 09:30:06 +1000 Subject: [PATCH 06/11] =?UTF-8?q?=F0=9F=91=B7=20Add=20labels=20to=20Depend?= =?UTF-8?q?abot=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/dependabot.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 3aa06918..9b90ebdb 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -11,6 +11,9 @@ updates: timezone: "Australia/Melbourne" commit-message: prefix: "📌" + labels: + - "dependencies" + - "npm" - package-ecosystem: "github-actions" directory: "/" schedule: @@ -20,3 +23,6 @@ updates: timezone: "Australia/Melbourne" commit-message: prefix: "👷" + labels: + - "dependencies" + - "actions" From 214f6df805fed626b4b97f39bb8920f986af39dc Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Mon, 11 Apr 2022 09:43:13 +1000 Subject: [PATCH 07/11] =?UTF-8?q?=F0=9F=93=9D=20Update=20deployment=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exampleSite/content/docs/hosting-deployment/index.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/exampleSite/content/docs/hosting-deployment/index.md b/exampleSite/content/docs/hosting-deployment/index.md index 13cc0a3e..b4c6e1dc 100644 --- a/exampleSite/content/docs/hosting-deployment/index.md +++ b/exampleSite/content/docs/hosting-deployment/index.md @@ -28,6 +28,10 @@ GitHub allows hosting on [GitHub Pages](https://docs.github.com/en/pages/getting The file needs to be in YAML format, placed within the `.github/workflows/` directory of your GitHub repository and named with a `.yml` extension. +{{< alert >}} +**Important:** Ensure you set the correct branch name under `branches` and in the deploy step `if` parameter to the source branch used in your project. +{{< /alert >}} + ```yaml # .github/workflows/gh-pages.yml @@ -36,7 +40,7 @@ name: GitHub Pages on: push: branches: - - main # change to the branch name for your project + - main jobs: build-deploy: @@ -45,7 +49,7 @@ jobs: group: ${{ github.workflow }}-${{ github.ref }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: true fetch-depth: 0 @@ -94,7 +98,7 @@ Then in the root of your site repository, create a `netlify.toml` file: TZ = "UTC" # Set to preferred timezone [context.production.environment] - HUGO_VERSION = "0.87.0" + HUGO_VERSION = "0.96.0" HUGO_ENV = "production" ``` From 66a3dcbbf50924d9585ab497de9e1f9671ede799 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Mon, 11 Apr 2022 09:44:58 +1000 Subject: [PATCH 08/11] =?UTF-8?q?=F0=9F=91=B7=20Bump=20Netlify=20Hugo=20ve?= =?UTF-8?q?rsion?= 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 33ca4322..f14c7b3d 100644 --- a/netlify.toml +++ b/netlify.toml @@ -8,17 +8,17 @@ HUGO_THEME = "repo" TZ = "Australia/Melbourne" [context.production.environment] -HUGO_VERSION = "0.92.0" +HUGO_VERSION = "0.96.0" HUGO_ENV = "production" [context.deploy-preview] command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL" [context.deploy-preview.environment] -HUGO_VERSION = "0.92.0" +HUGO_VERSION = "0.96.0" [context.branch-deploy] command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL" [context.branch-deploy.environment] -HUGO_VERSION = "0.92.0" +HUGO_VERSION = "0.96.0" From d3de1f2d15a7b18a02566e3699cb3b6b00652de0 Mon Sep 17 00:00:00 2001 From: KevinR Date: Tue, 12 Apr 2022 00:31:11 +0200 Subject: [PATCH 09/11] Update users.md --- exampleSite/content/users.md | 1 + 1 file changed, 1 insertion(+) diff --git a/exampleSite/content/users.md b/exampleSite/content/users.md index 94f8986a..5a351fef 100644 --- a/exampleSite/content/users.md +++ b/exampleSite/content/users.md @@ -27,5 +27,6 @@ Real websites that are built with Congo. | [mackiser.github.io](https://mackiser.github.io) | Personal site and Blog | | [jamesmillner.dev](https://jamesmillner.dev) | Personal site and Blog | | [jeremic.ca](https://jeremic.ca) | Personal site and Blog | +| [rohn.tech](https://rohn.tech) | Personal site | **Congo user?** To add your site to this list, [submit a pull request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users.md). From 972233063cf8719ce49d9364f05f6ced6870a282 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Tue, 12 Apr 2022 09:17:17 +1000 Subject: [PATCH 10/11] =?UTF-8?q?=F0=9F=90=9B=20Fix=20scroll=20to=20top=20?= =?UTF-8?q?link=20alignment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #172 --- CHANGELOG.md | 4 ++++ assets/css/compiled/main.css | 8 ++++++++ layouts/_default/baseof.html | 6 +++++- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b27b4dc..70448f1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Hungarian translation ([#170](https://github.com/jpanther/congo/pull/170)) +### Fixed + +- Scroll to top link overlaps footer menu on mobile devices ([#172](https://github.com/jpanther/congo/issues/172)) + ## [2.1.2] - 2022-04-08 ### Added diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 93244fe5..146e48ad 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1467,6 +1467,10 @@ body a, body button { top: 110vh; } +.bottom-\[-8\.25rem\] { + bottom: -8.25rem; +} + .bottom-\[-5\.5rem\] { bottom: -5.5rem; } @@ -2608,6 +2612,10 @@ body a, body button { } @media (min-width: 640px) { + .sm\:bottom-\[-8rem\] { + bottom: -8rem; + } + .sm\:mb-0 { margin-bottom: 0px; } diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index dd5fd6f7..6ff3c8e0 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -30,7 +30,11 @@ {{- block "main" . }}{{- end }} {{ if and (.Site.Params.showScrollToTop | default true) (gt .WordCount 200) }}
Date: Tue, 12 Apr 2022 09:41:38 +1000 Subject: [PATCH 11/11] =?UTF-8?q?=F0=9F=94=A8=20Preparing=20release=20v2.1?= =?UTF-8?q?.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 70448f1f..293300c8 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] +## [2.1.3] - 2022-04-12 + ### Added - Hungarian translation ([#170](https://github.com/jpanther/congo/pull/170)) @@ -396,7 +398,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/v2.1.2...HEAD +[unreleased]: https://github.com/jpanther/congo/compare/v2.1.3...HEAD +[2.1.3]: https://github.com/jpanther/congo/compare/v2.1.2...v2.1.3 [2.1.2]: https://github.com/jpanther/congo/compare/v2.1.1...v2.1.2 [2.1.1]: https://github.com/jpanther/congo/compare/v2.1.0...v2.1.1 [2.1.0]: https://github.com/jpanther/congo/compare/v2.0.5...v2.1.0 diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 146e48ad..d62b8d2d 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1,4 +1,4 @@ -/*! Congo v2.1.2 | MIT License | https://github.com/jpanther/congo */ +/*! Congo v2.1.3 | MIT License | https://github.com/jpanther/congo */ /*! tailwindcss v3.0.23 | MIT License | https://tailwindcss.com */ diff --git a/assets/css/main.css b/assets/css/main.css index f15f1ab5..ad85d99e 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,4 +1,4 @@ -/*! Congo v2.1.2 | MIT License | https://github.com/jpanther/congo */ +/*! Congo v2.1.3 | MIT License | https://github.com/jpanther/congo */ @tailwind base; @tailwind components; diff --git a/package.json b/package.json index 818613c5..175d50b5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hugo-congo-theme", - "version": "2.1.2", + "version": "2.1.3", "description": "Congo theme for Hugo", "main": "index.js", "scripts": {