diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..9b90ebdb --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,28 @@ +# 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: "📌" + labels: + - "dependencies" + - "npm" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "sunday" + time: "09:00" + timezone: "Australia/Melbourne" + commit-message: + prefix: "👷" + labels: + - "dependencies" + - "actions" 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/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 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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e05e859..293300c8 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] +## [2.1.3] - 2022-04-12 + +### Added + +- 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 @@ -388,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 93244fe5..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 */ @@ -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/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/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` | 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" ``` 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). 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" 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) }}