🔖 Release v2.1.3

pull/775/head v2.1.3
James Panther 2022-04-12 09:41:41 +10:00
commit fb32b72988
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
14 changed files with 126 additions and 14 deletions

28
.github/dependabot.yml vendored 100644
View File

@ -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"

View File

@ -13,7 +13,7 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: true submodules: true
fetch-depth: 0 fetch-depth: 0

View File

@ -12,7 +12,7 @@ jobs:
steps: steps:
- name: Label - name: Label
uses: actions/labeler@v3 uses: actions/labeler@v4
with: with:
repo-token: "${{ secrets.GITHUB_TOKEN }}" repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeller.yml configuration-path: .github/labeller.yml

View File

@ -10,7 +10,7 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: true submodules: true
fetch-depth: 0 fetch-depth: 0

View File

@ -6,6 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased] ## [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 ## [2.1.2] - 2022-04-08
### Added ### 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 - Advanced customisation using simple Tailwind colour definitions and styles
- Fully documented - 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.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.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 [2.1.0]: https://github.com/jpanther/congo/compare/v2.0.5...v2.1.0

View File

@ -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 */ /*! tailwindcss v3.0.23 | MIT License | https://tailwindcss.com */
@ -1467,6 +1467,10 @@ body a, body button {
top: 110vh; top: 110vh;
} }
.bottom-\[-8\.25rem\] {
bottom: -8.25rem;
}
.bottom-\[-5\.5rem\] { .bottom-\[-5\.5rem\] {
bottom: -5.5rem; bottom: -5.5rem;
} }
@ -2608,6 +2612,10 @@ body a, body button {
} }
@media (min-width: 640px) { @media (min-width: 640px) {
.sm\:bottom-\[-8rem\] {
bottom: -8rem;
}
.sm\:mb-0 { .sm\:mb-0 {
margin-bottom: 0px; margin-bottom: 0px;
} }

View File

@ -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 base;
@tailwind components; @tailwind components;

View File

@ -55,6 +55,7 @@ The theme currently supports the following languages by default:
| :fr: French | `fr` | | :fr: French | `fr` |
| :de: German | `de` | | :de: German | `de` |
| :israel: Hebrew | `he` | | :israel: Hebrew | `he` |
| :hungary: Hungarian | `hu` |
| :brazil: Portuguese (Brazil) | `pt-br` | | :brazil: Portuguese (Brazil) | `pt-br` |
| :portugal: Portuguese (Portugal) | `pt-pt` | | :portugal: Portuguese (Portugal) | `pt-pt` |
| :romania: Romanian | `ro` | | :romania: Romanian | `ro` |

View File

@ -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. 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 ```yaml
# .github/workflows/gh-pages.yml # .github/workflows/gh-pages.yml
@ -36,7 +40,7 @@ name: GitHub Pages
on: on:
push: push:
branches: branches:
- main # change to the branch name for your project - main
jobs: jobs:
build-deploy: build-deploy:
@ -45,7 +49,7 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: true submodules: true
fetch-depth: 0 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 TZ = "UTC" # Set to preferred timezone
[context.production.environment] [context.production.environment]
HUGO_VERSION = "0.87.0" HUGO_VERSION = "0.96.0"
HUGO_ENV = "production" HUGO_ENV = "production"
``` ```

View File

@ -27,5 +27,6 @@ Real websites that are built with Congo.
| [mackiser.github.io](https://mackiser.github.io) | Personal site and Blog | | [mackiser.github.io](https://mackiser.github.io) | Personal site and Blog |
| [jamesmillner.dev](https://jamesmillner.dev) | Personal site and Blog | | [jamesmillner.dev](https://jamesmillner.dev) | Personal site and Blog |
| [jeremic.ca](https://jeremic.ca) | 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). **Congo user?** To add your site to this list, [submit a pull request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users.md).

55
i18n/hu.yaml 100644
View File

@ -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 }} &amp; {{ .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"

View File

@ -30,7 +30,11 @@
{{- block "main" . }}{{- end }} {{- block "main" . }}{{- end }}
{{ if and (.Site.Params.showScrollToTop | default true) (gt .WordCount 200) }} {{ if and (.Site.Params.showScrollToTop | default true) (gt .WordCount 200) }}
<div <div
class="absolute top-[110vh] ltr:right-0 rtl:left-0 w-12 pointer-events-none bottom-[-5.5rem]" class="absolute top-[110vh] ltr:right-0 rtl:left-0 w-12 pointer-events-none {{ if .Site.Menus.footer -}}
bottom-[-8.25rem] sm:bottom-[-8rem]
{{- else -}}
bottom-[-5.5rem]
{{- end }}"
> >
<a <a
href="#the-top" href="#the-top"

View File

@ -8,17 +8,17 @@ HUGO_THEME = "repo"
TZ = "Australia/Melbourne" TZ = "Australia/Melbourne"
[context.production.environment] [context.production.environment]
HUGO_VERSION = "0.92.0" HUGO_VERSION = "0.96.0"
HUGO_ENV = "production" HUGO_ENV = "production"
[context.deploy-preview] [context.deploy-preview]
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL" command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment] [context.deploy-preview.environment]
HUGO_VERSION = "0.92.0" HUGO_VERSION = "0.96.0"
[context.branch-deploy] [context.branch-deploy]
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL" command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment] [context.branch-deploy.environment]
HUGO_VERSION = "0.92.0" HUGO_VERSION = "0.96.0"

View File

@ -1,6 +1,6 @@
{ {
"name": "hugo-congo-theme", "name": "hugo-congo-theme",
"version": "2.1.2", "version": "2.1.3",
"description": "Congo theme for Hugo", "description": "Congo theme for Hugo",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {