Skip to content

Commit

Permalink
🔖 Release v2.8.2
Browse files Browse the repository at this point in the history
jpanther committed Apr 17, 2024
2 parents 237aa85 + 041e423 commit 5c8ab32
Showing 20 changed files with 422 additions and 196 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ jobs:
fetch-depth: 0

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "latest"
extended: true
@@ -29,7 +29,7 @@ jobs:
run: hugo --minify --themesDir ../.. --buildDrafts --baseURL https://jpanther.github.io/congo/

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/stable' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ jobs:
fetch-depth: 0

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "latest"
extended: true
21 changes: 20 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -6,6 +6,24 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## [2.8.2] - 2024-04-17

### Added

- Tamil translation ([#830](https://github.com/jpanther/congo/pull/830))
- Vietnamese translation ([#845](https://github.com/jpanther/congo/pull/845))
- Swedish translation ([#852](https://github.com/jpanther/congo/pull/852))

### Changed

- Upgrade to KaTeX v0.16.10 ([#839](https://github.com/jpanther/congo/pull/839))
- Upgrade to Typography v0.5.12 ([#841](https://github.com/jpanther/congo/pull/841), [#860](https://github.com/jpanther/congo/pull/860))
- Upgrade to Tailwind v3.4.3 ([#843](https://github.com/jpanther/congo/pull/843))

### Fixed

- Background color inconsistent on mobile when dark mode enabled ([#796](https://github.com/jpanther/congo/issues/796))

## [2.8.1] - 2024-03-09

### Changed
@@ -856,7 +874,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.8.1...HEAD
[Unreleased]: https://github.com/jpanther/congo/compare/v2.8.2...HEAD
[2.8.2]: https://github.com/jpanther/congo/compare/v2.8.1...v2.8.2
[2.8.1]: https://github.com/jpanther/congo/compare/v2.8.0...v2.8.1
[2.8.0]: https://github.com/jpanther/congo/compare/v2.7.6...v2.8.0
[2.7.6]: https://github.com/jpanther/congo/compare/v2.7.5...v2.7.6
286 changes: 148 additions & 138 deletions assets/css/compiled/main.css

Large diffs are not rendered by default.

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.8.1 | MIT License | https://github.com/jpanther/congo */
/*! Congo v2.8.2 | MIT License | https://github.com/jpanther/congo */

@tailwind base;
@tailwind components;
1 change: 1 addition & 0 deletions assets/js/appearance.js
Original file line number Diff line number Diff line change
@@ -39,6 +39,7 @@ if (document.documentElement.getAttribute("data-auto-appearance") === "true") {
}

window.addEventListener("DOMContentLoaded", (event) => {
setThemeColor();
var switchers = document.querySelectorAll("[id^='appearance-switcher']");
switchers.forEach((switcher) => {
switcher.addEventListener("click", () => {
2 changes: 1 addition & 1 deletion assets/lib/katex/auto-render.min.js
2 changes: 1 addition & 1 deletion assets/lib/katex/katex.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/lib/katex/katex.min.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions exampleSite/content/docs/configuration/index.ja.md
Original file line number Diff line number Diff line change
@@ -66,15 +66,19 @@ Congoは現在、以下の言語に対応しています:
| :indonesia: Indonesian | `id` |
| :it: Italian | `it` |
| :jp: Japanese | `ja` |
| :kr: Korean | `ko` |
| :poland: Polish | `pl` |
| :brazil: Portuguese (Brazil) | `pt-br` |
| :portugal: Portuguese (Portugal) | `pt-pt` |
| :romania: Romanian | `ro` |
| :ru: Russian | `ru` |
| :slovakia: Slovak | `sk` |
| :es: Spanish (Spain) | `es` |
| :sweden: Swedish | `sv` |
| :flag-lk: Tamil | `ta` |
| :tr: Turkish | `tr` |
| :ukraine: Ukrainian | `uk` |
| :vietnam: Vietnamese | `vi` |

翻訳文字列を含むカスタムファイルを `i18n/[code].yaml` に作成することでデフォルトの翻訳をオーバーライドできます。このメソッドを使って新しい言語を追加することもできます。新しい翻訳をコミュニティと共有したい場合、[Pull Request](https://github.com/jpanther/congo/pulls)を作ってください。

3 changes: 3 additions & 0 deletions exampleSite/content/docs/configuration/index.md
Original file line number Diff line number Diff line change
@@ -74,8 +74,11 @@ The theme currently supports the following languages out of the box:
| :ru: Russian | `ru` |
| :slovakia: Slovak | `sk` |
| :es: Spanish (Spain) | `es` |
| :sweden: Swedish | `sv` |
| :flag-lk: Tamil | `ta` |
| :tr: Turkish | `tr` |
| :ukraine: Ukrainian | `uk` |
| :vietnam: Vietnamese | `vi` |

The default translations can be overridden by creating a custom file in `i18n/[code].yaml` that contains the translation strings. You can also use this method to add new languages. If you'd like to share a new translation with the community, please [open a pull request](https://github.com/jpanther/congo/pulls).

4 changes: 3 additions & 1 deletion exampleSite/content/users/index.es.md
Original file line number Diff line number Diff line change
@@ -72,6 +72,8 @@ La lista a continuación es solo un puñado de sitios web creados con el tema Co
| [aminelch.github.io](https://aminelch.github.io) | Personal Site and Blog |
| [robertboscacci.com](https://robertboscacci.com) | Personal Site and Blog |
| [gorbe.io](https://www.gorbe.io) | Business Site and Blog |
| [techwolf12.nl](https://techwolf12.nl) | Personal Site and Tech Blog |
| [techwolf12.nl](https://techwolf12.nl) | Personal Site and Tech Blog |
| [kylecapehart.com](https://kylecapehart.com/) | Personal Site and Blog |
| [hosni.info](https://hosni.info/) | Personal site and Tech Blog |

**¿Usuaria de congo?** Para agregar tu sitio a esta lista, [haz un pull request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md).
4 changes: 3 additions & 1 deletion exampleSite/content/users/index.ja.md
Original file line number Diff line number Diff line change
@@ -72,6 +72,8 @@ Congoを使用して構築された実際のウェブサイト。
| [aminelch.github.io](https://aminelch.github.io) | Personal Site and Blog |
| [robertboscacci.com](https://robertboscacci.com) | Personal Site and Blog |
| [gorbe.io](https://www.gorbe.io) | Business Site and Blog |
| [techwolf12.nl](https://techwolf12.nl) | Personal Site and Tech Blog |
| [techwolf12.nl](https://techwolf12.nl) | Personal Site and Tech Blog |
| [kylecapehart.com](https://kylecapehart.com/) | Personal Site and Blog |
| [hosni.info](https://hosni.info/) | Personal site and Tech Blog |

**Congoを使っていますか?** あなたのウェブサイトを加えるために[Pull Request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md)を投げてください。
4 changes: 3 additions & 1 deletion exampleSite/content/users/index.md
Original file line number Diff line number Diff line change
@@ -72,6 +72,8 @@ The list below is just a handful of the websites that are built using the Congo
| [aminelch.github.io](https://aminelch.github.io) | Personal Site and Blog |
| [robertboscacci.com](https://robertboscacci.com) | Personal Site and Blog |
| [gorbe.io](https://www.gorbe.io) | Business Site and Blog |
| [techwolf12.nl](https://techwolf12.nl) | Personal Site and Tech Blog |
| [techwolf12.nl](https://techwolf12.nl) | Personal Site and Tech Blog |
| [kylecapehart.com](https://kylecapehart.com/) | Personal Site and Blog |
| [hosni.info](https://hosni.info/) | Personal site and Tech Blog |

**Congo user?** To add your site to this list, [submit a pull request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md).
4 changes: 3 additions & 1 deletion exampleSite/content/users/index.zh-cn.md
Original file line number Diff line number Diff line change
@@ -72,6 +72,8 @@ showEdit: false
| [aminelch.github.io](https://aminelch.github.io) | Personal Site and Blog |
| [robertboscacci.com](https://robertboscacci.com) | Personal Site and Blog |
| [gorbe.io](https://www.gorbe.io) | Business Site and Blog |
| [techwolf12.nl](https://techwolf12.nl) | Personal Site and Tech Blog |
| [techwolf12.nl](https://techwolf12.nl) | Personal Site and Tech Blog |
| [kylecapehart.com](https://kylecapehart.com/) | Personal Site and Blog |
| [hosni.info](https://hosni.info/) | Personal site and Tech Blog |

**想成为Congo的用户?** 要将您的网站添加到此列表中,请提交[Pull Request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md)来添加。
60 changes: 60 additions & 0 deletions i18n/sv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
article:
anchor_label: "Ankare"
date: "{{ .Date }}"
date_updated: "Uppdaterad: {{ .Date }}"
draft: "Utkast"
edit_title: "Redigera innehåll"
reading_time:
one: "{{ .Count }} min"
other: "{{ .Count }} min"
reading_time_title: "Lästid"
table_of_contents: "Innehållsförteckning"
word_count:
one: "{{ .Count }} ord"
other: "{{ .Count }} ord"

author:
byline_title: "Författare"

code:
copy: "Kopiera"
copied: "Kopierat"

error:
404_title: "Sidan hittades inte :confused:"
404_error: "Error 404"
404_description: "Den sida du har begärt verkar inte finnas."

footer:
dark_appearance: "Byt till mörkt utseende"
light_appearance: "Byt till ljust utseende"
powered_by: "Drivs av {{ .Hugo }} & {{ .Congo }}"

list:
externalurl_title: "Länk till extern webbplats"
no_articles: "Det finns inga artiklar att visa här ännu."

nav:
scroll_to_top_title: "Scrolla till början"
skip_to_main: "Hoppa till huvudinnehåll"

search:
open_button_title: "Sök (/)"
close_button_title: "Stäng (Esc)"
input_placeholder: "Sök"

sharing:
email: "Skicka via e-post"
facebook: "Dela på Facebook"
linkedin: "Dela på LinkedIn"
mastodon: "Dela på Mastodon"
pinterest: "Fäst på Pinterest"
reddit: "Publicera på Reddit"
twitter: "Twittra på Twitter"
telegram: "Dela på Telegram"
line: "Dela på LINE"
weibo: "Dela på Weibo"
x-twitter: "Publicera på X"

shortcode:
recent_articles: "Senaste"
60 changes: 60 additions & 0 deletions i18n/ta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
article:
anchor_label: "நங்கூரம்"
date: "{{ .Date }}"
date_updated: "புதுப்பிக்கப்பட்டது: {{ .Date }}"
draft: "வரைவு"
edit_title: "உள்ளடக்கத்தைத் திருத்தவும்"
reading_time:
one: "{{ .Count }} நிமிடம்"
other: "{{ .Count }} நிமிடங்கள்"
reading_time_title: "படிப்பதற்கு எடுக்கும் நேரம்"
table_of_contents: "பொருளடக்கம்"
word_count:
one: "{{ .Count }} சொல்"
other: "{{ .Count }} சொற்கள்"

author:
byline_title: "நூலாசிரியர்"

code:
copy: "நகலெடுக்கவும்"
copied: "நகலெடுக்கப்பட்டது"

error:
404_title: "பக்கம் கிடைக்கவில்லை :confused:"
404_error: "பிழை 404"
404_description: "நீங்கள் கோரிய பக்கம் இல்லை என்று தெரிகிறது."

footer:
dark_appearance: "இருண்ட தோற்றத்திற்கு மாறவும்"
light_appearance: "ஒளி தோற்றத்திற்கு மாறவும்"
powered_by: "{{ .Hugo }} & {{ .Congo }} மூலம் இயக்கப்படுகிறது"

list:
externalurl_title: "வெளிப்புற தளத்திற்கான இணைப்பு"
no_articles: "இங்கே பட்டியலிட இன்னும் கட்டுரைகள் எதுவும் இல்லை."

nav:
scroll_to_top_title: "மேலே உருட்டவும்"
skip_to_main: "முக்கிய உள்ளடக்கத்திற்கு செல்க"

search:
open_button_title: "தேடு (/)"
close_button_title: "மூடு (Esc)"
input_placeholder: "தேடு"

sharing:
email: "மின்னஞ்சல் மூலம் அனுப்பவும்"
facebook: "Facebook இல் பகிரவும்"
linkedin: "LinkedIn இல் பகிரவும்"
mastodon: "Mastodon இல் டூட் செய்யவும்"
pinterest: "Pinterest இல் பின் செய்யவும்"
reddit: "Reddit க்கு சமர்ப்பிக்கவும்"
twitter: "Twitter இல் ட்வீட் செய்யுங்கள்"
telegram: "Telegram இல் பகிரவும்"
line: "LINE இல் பகிரவும்"
weibo: "Weibo இல் பகிரவும்"
x-twitter: "X இல் இடுகையிடவும்"

shortcode:
recent_articles: "சமீபத்திய கட்டுரைகள்"
60 changes: 60 additions & 0 deletions i18n/vi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
article:
anchor_label: "Neo"
date: "{{ .Date }}"
date_updated: "Đã cập nhật: {{ .Date }}"
draft: "Bản nháp"
edit_title: "Chỉnh sửa"
reading_time:
one: "{{ .Count }} phút"
other: "{{ .Count }} phút"
reading_time_title: "Thời gian đọc"
table_of_contents: "Mục lục"
word_count:
one: "{{ .Count }} từ"
other: "{{ .Count }} từ"

author:
byline_title: "Tác giả"

code:
copy: "Sao chép"
copied: "Đã sao chép"

error:
404_title: "Không tìm thấy trang :confused:"
404_error: "Lỗi 404"
404_description: "Có vẻ như trang bạn yêu cầu không tồn tại."

footer:
dark_appearance: "Chuyển sang giao diện tối"
light_appearance: "Chuyển sang giao diện sáng"
powered_by: "Cung cấp bởi {{ .Hugo }} & {{ .Congo }}"

list:
externalurl_title: "Liên kết đến trang web bên ngoài"
no_articles: "Chưa có bài viết ở đây."

nav:
scroll_to_top_title: "Cuộn lên trên cùng"
skip_to_main: "Chuyển đến nội dung chính"

search:
open_button_title: "Tìm kiếm (/)"
close_button_title: "Đóng (Esc)"
input_placeholder: "Tìm kiếm"

sharing:
email: "Gửi qua email"
facebook: "Chia sẻ lên Facebook"
linkedin: "Chia sẻ lên LinkedIn"
mastodon: "Toot trên Mastodon"
pinterest: "Pin lên Pinterest"
reddit: "Gửi lên Reddit"
twitter: "Tweet lên Twitter"
telegram: "Chia sẻ lên Telegram"
line: "Chia sẻ lên LINE"
weibo: "Chia sẻ lên Weibo"
x-twitter: "Đăng lên X"

shortcode:
recent_articles: "Gần đây"
83 changes: 42 additions & 41 deletions package-lock.json
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hugo-congo-theme",
"version": "2.8.1",
"version": "2.8.2",
"description": "Congo theme for Hugo",
"scripts": {
"preinstall": "rimraf assets/lib",
@@ -29,17 +29,17 @@
},
"homepage": "https://github.com/jpanther/congo#readme",
"devDependencies": {
"@tailwindcss/typography": "^0.5.10",
"@tailwindcss/typography": "^0.5.12",
"chart.js": "^4.4.2",
"fuse.js": "^7.0.0",
"katex": "^0.16.9",
"katex": "^0.16.10",
"mermaid": "^10.9.0",
"prettier": "^3.2.5",
"prettier-plugin-go-template": "^0.0.15",
"prettier-plugin-tailwindcss": "^0.5.12",
"prettier-plugin-tailwindcss": "^0.5.14",
"quicklink": "^2.3.0",
"rimraf": "^5.0.5",
"tailwindcss": "^3.4.1",
"tailwindcss": "^3.4.3",
"vendor-copy": "^3.0.1"
},
"vendorCopy": [],

0 comments on commit 5c8ab32

Please sign in to comment.