Skip to content

Commit

Permalink
🔖 Release v2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jpanther committed Apr 11, 2022
2 parents 799ac6e + 58f51c2 commit fb32b72
Show file tree
Hide file tree
Showing 14 changed files with 126 additions and 14 deletions.
28 changes: 28 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
10 changes: 9 additions & 1 deletion assets/css/compiled/main.css
Original file line number Diff line number Diff line change
@@ -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 */

Expand Down Expand Up @@ -1467,6 +1467,10 @@ body a, body button {
top: 110vh;
}

.bottom-\[-8\.25rem\] {
bottom: -8.25rem;
}

.bottom-\[-5\.5rem\] {
bottom: -5.5rem;
}
Expand Down Expand Up @@ -2608,6 +2612,10 @@ body a, body button {
}

@media (min-width: 640px) {
.sm\:bottom-\[-8rem\] {
bottom: -8rem;
}

.sm\:mb-0 {
margin-bottom: 0px;
}
Expand Down
2 changes: 1 addition & 1 deletion assets/css/main.css
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
1 change: 1 addition & 0 deletions exampleSite/content/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down
10 changes: 7 additions & 3 deletions exampleSite/content/docs/hosting-deployment/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -36,7 +40,7 @@ name: GitHub Pages
on:
push:
branches:
- main # change to the branch name for your project
- main

jobs:
build-deploy:
Expand All @@ -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
Expand Down Expand Up @@ -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"
```

Expand Down
1 change: 1 addition & 0 deletions exampleSite/content/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
55 changes: 55 additions & 0 deletions i18n/hu.yaml
Original file line number Diff line number Diff line change
@@ -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"
6 changes: 5 additions & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@
{{- block "main" . }}{{- end }}
{{ if and (.Site.Params.showScrollToTop | default true) (gt .WordCount 200) }}
<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
href="#the-top"
Expand Down
6 changes: 3 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit fb32b72

Please sign in to comment.