Skip to content

Commit

Permalink
🔖 Release v2.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jpanther committed Nov 25, 2023
2 parents f966f13 + e615de3 commit ae99b37
Show file tree
Hide file tree
Showing 51 changed files with 182 additions and 41 deletions.
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,23 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## [2.7.5] - 2023-11-25

### Added

- Ukrainian translation ([#703](https://github.com/jpanther/congo/pull/703))
- Bulgarian translation ([#718](https://github.com/jpanther/congo/pull/718))

### Changed

- Updated Dutch translation ([#696](https://github.com/jpanther/congo/pull/696))
- Upgrade to Mermaid v10.6.1 ([#697](https://github.com/jpanther/congo/pull/697))

### Fixed

- Some files have unnecessary execute permissions ([#714](https://github.com/jpanther/congo/pull/714))
- Empty block is output when locale switcher is hidden ([#699](https://github.com/jpanther/congo/pull/699))

## [2.7.4] - 2023-11-05

### Fixed
Expand Down Expand Up @@ -780,7 +797,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.7.4...HEAD
[Unreleased]: https://github.com/jpanther/congo/compare/v2.7.5...HEAD
[2.7.5]: https://github.com/jpanther/congo/compare/v2.7.4...v2.7.5
[2.7.4]: https://github.com/jpanther/congo/compare/v2.7.3...v2.7.4
[2.7.3]: https://github.com/jpanther/congo/compare/v2.7.2...v2.7.3
[2.7.2]: https://github.com/jpanther/congo/compare/v2.7.1...v2.7.2
Expand Down
2 changes: 1 addition & 1 deletion assets/css/compiled/main.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Congo v2.7.4 | MIT License | https://github.com/jpanther/congo */
/*! Congo v2.7.5 | MIT License | https://github.com/jpanther/congo */

/*! tailwindcss v3.3.5 | MIT License | https://tailwindcss.com */

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

@tailwind base;
@tailwind components;
Expand Down
4 changes: 2 additions & 2 deletions assets/lib/mermaid/mermaid.min.js

Large diffs are not rendered by default.

Empty file modified exampleSite/content/_index.es.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/_index.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/docs/_index.md
100755 → 100644
Empty file.
2 changes: 2 additions & 0 deletions exampleSite/content/docs/configuration/index.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Congoは現在、以下の言語に対応しています:
| :gb: **English (default)** | `en` |
| :egypt: Arabic | `ar` |
| :bangladesh: Bengali | `bn` |
| :bulgaria: Bulgarian | `bg` |
| :cn: Chinese - Simplified (China) | `zh-cn` |
| :taiwan: Chinese - Traditional (Taiwan) | `zh-tw` |
| :flag-cz: Czech | `cs` |
Expand All @@ -73,6 +74,7 @@ Congoは現在、以下の言語に対応しています:
| :slovakia: Slovak | `sk` |
| :es: Spanish (Spain) | `es` |
| :tr: Turkish | `tr` |
| :ukraine: Ukrainian | `uk` |

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

Expand Down
2 changes: 2 additions & 0 deletions exampleSite/content/docs/configuration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ The theme currently supports the following languages out of the box:
| :gb: **English (default)** | `en` |
| :egypt: Arabic | `ar` |
| :bangladesh: Bengali | `bn` |
| :bulgaria: Bulgarian | `bg` |
| :cn: Chinese - Simplified (China) | `zh-cn` |
| :taiwan: Chinese - Traditional (Taiwan) | `zh-tw` |
| :flag-cz: Czech | `cs` |
Expand All @@ -73,6 +74,7 @@ The theme currently supports the following languages out of the box:
| :slovakia: Slovak | `sk` |
| :es: Spanish (Spain) | `es` |
| :tr: Turkish | `tr` |
| :ukraine: Ukrainian | `uk` |

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).

Expand Down
Empty file modified exampleSite/content/samples/_index.es.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/_index.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/charts/index.es.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/charts/index.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/diagrams-flowcharts/index.es.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/diagrams-flowcharts/index.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/emoji/index.es.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/emoji/index.ja.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/emoji/index.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/external/index.es.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/external/index.ja.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/external/index.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/markdown/index.es.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/markdown/index.ja.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/markdown/index.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/mathematical-notation/index.es.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/mathematical-notation/index.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/placeholder-text/index.es.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/placeholder-text/index.ja.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/placeholder-text/index.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/rich-content/index.es.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/rich-content/index.ja.md
100755 → 100644
Empty file.
Empty file modified exampleSite/content/samples/rich-content/index.md
100755 → 100644
Empty file.
3 changes: 2 additions & 1 deletion exampleSite/content/users/index.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ La lista a continuación es solo un puñado de sitios web creados con el tema Co
| [medical-humanities](https://medical-humanities.org) | Academic site |
| [boyersnet.com](https://boyersnet.com) | Personal site and Blog |
| [major.io](https://major.io) | Personal site and Blog |
| [顾宇的博客](https://www.guyu.me/) | Personal Blog (in Chinese) |
| [顾宇的博客](https://www.guyu.me/) | Personal Blog (in Chinese) |
| [cgutierr-zgz.github.io](https://cgutierr-zgz.github.io/) | Personal site and Tech blog |
| [adam.sr](https://adam.sr) | Personal site and Blog |
| [kpavlov.me](https://kpavlov.me) | Personal site and Blog |
Expand All @@ -63,5 +63,6 @@ La lista a continuación es solo un puñado de sitios web creados con el tema Co
| [Beerjoa Blog](https://blog.beerjoa.dev) | Personal site and Blog |
| [simaosilva.com](https://simaosilva.com) | Personal Site |
| [kom.al](https://kom.al) | Personal Site |
| [andrea.mortaro.it](https://andrea.mortaro.it) | Personal Site and 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).
3 changes: 2 additions & 1 deletion exampleSite/content/users/index.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Congoを使用して構築された実際のウェブサイト。
| [medical-humanities](https://medical-humanities.org) | Academic site |
| [boyersnet.com](https://boyersnet.com) | Personal site and Blog |
| [major.io](https://major.io) | Personal site and Blog |
| [顾宇的博客](https://www.guyu.me/) | Personal Blog (in Chinese) |
| [顾宇的博客](https://www.guyu.me/) | Personal Blog (in Chinese) |
| [cgutierr-zgz.github.io](https://cgutierr-zgz.github.io/) | Personal site and Tech blog |
| [adam.sr](https://adam.sr) | Personal site and Blog |
| [kpavlov.me](https://kpavlov.me) | Personal site and Blog |
Expand All @@ -63,5 +63,6 @@ Congoを使用して構築された実際のウェブサイト。
| [Beerjoa Blog](https://blog.beerjoa.dev) | Personal site and Blog |
| [simaosilva.com](https://simaosilva.com) | Personal Site |
| [kom.al](https://kom.al) | Personal Site |
| [andrea.mortaro.it](https://andrea.mortaro.it) | Personal Site and Blog |

**Congoを使っていますか?** あなたのウェブサイトを加えるために[Pull Request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md)を投げてください。
3 changes: 2 additions & 1 deletion exampleSite/content/users/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The list below is just a handful of the websites that are built using the Congo
| [medical-humanities](https://medical-humanities.org) | Academic site |
| [boyersnet.com](https://boyersnet.com) | Personal site and Blog |
| [major.io](https://major.io) | Personal site and Blog |
| [顾宇的博客](https://www.guyu.me/) | Personal Blog (in Chinese) |
| [顾宇的博客](https://www.guyu.me/) | Personal Blog (in Chinese) |
| [cgutierr-zgz.github.io](https://cgutierr-zgz.github.io/) | Personal site and Tech blog |
| [adam.sr](https://adam.sr) | Personal site and Blog |
| [kpavlov.me](https://kpavlov.me) | Personal site and Blog |
Expand All @@ -63,5 +63,6 @@ The list below is just a handful of the websites that are built using the Congo
| [Beerjoa Blog](https://blog.beerjoa.dev) | Personal site and Blog |
| [simaosilva.com](https://simaosilva.com) | Personal Site |
| [kom.al](https://kom.al) | Personal Site |
| [andrea.mortaro.it](https://andrea.mortaro.it) | Personal Site and 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).
56 changes: 56 additions & 0 deletions i18n/bg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
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"

shortcode:
recent_articles: "Последни"
2 changes: 1 addition & 1 deletion i18n/nl.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
article:
anchor_label: "Anker"
date: "{{ .Date }}"
date_updated: "Bijgwerkt: {{ .Date }}"
date_updated: "Bijgewerkt: {{ .Date }}"
draft: "Concept"
edit_title: "Bewerk inhoud"
reading_time:
Expand Down
60 changes: 60 additions & 0 deletions i18n/uk.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 }} хвилину"
few: "{{ .Count }} хвилини"
many: "{{ .Count }} хвилин"
other: "{{ .Count }} хвилини"
reading_time_title: "Прочитаєте за"
table_of_contents: "Зміст"
word_count:
one: "{{ .Count }} слово"
few: "{{ .Count }} слова"
many: "{{ .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"

shortcode:
recent_articles: "Недавні дописи"
2 changes: 1 addition & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<nav class="pb-4 text-base font-medium text-neutral-500 dark:text-neutral-400">
<ul class="flex flex-col list-none sm:flex-row">
{{ range .Site.Menus.footer }}
{{ if and (eq .Params.action "locale") (and (not page.IsTranslated) (not site.IsMultiLingual)) }}
{{ if and (eq .Params.action "locale") (or (not page.IsTranslated) (not site.IsMultiLingual)) }}
{{ continue }}
{{ end }}
<li class="mb-1 group text-end sm:mb-0 sm:me-7 sm:last:me-0">
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/header/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<ul class="flex flex-col list-none text-end sm:flex-row">
{{ if .Site.Menus.main }}
{{ range .Site.Menus.main }}
{{ if and (eq .Params.action "locale") (and (not page.IsTranslated) (not site.IsMultiLingual)) }}
{{ if and (eq .Params.action "locale") (or (not page.IsTranslated) (not site.IsMultiLingual)) }}
{{ continue }}
{{ end }}
<li class="group mb-1 sm:mb-0 sm:me-7 sm:last:me-0.5">
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/header/hamburger.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</li>
{{ if .Site.Menus.main }}
{{ range .Site.Menus.main }}
{{ if and (eq .Params.action "locale") (and (not page.IsTranslated) (not site.IsMultiLingual)) }}
{{ if and (eq .Params.action "locale") (or (not page.IsTranslated) (not site.IsMultiLingual)) }}
{{ continue }}
{{ end }}
<li class="mb-1 group">
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/header/hybrid.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</li>
{{ if .Site.Menus.main }}
{{ range .Site.Menus.main }}
{{ if and (eq .Params.action "locale") (and (not page.IsTranslated) (not site.IsMultiLingual)) }}
{{ if and (eq .Params.action "locale") (or (not page.IsTranslated) (not site.IsMultiLingual)) }}
{{ continue }}
{{ end }}
<li class="mb-1 group">
Expand Down Expand Up @@ -129,7 +129,7 @@
<ul class="flex-row hidden list-none text-end sm:flex">
{{ if .Site.Menus.main }}
{{ range .Site.Menus.main }}
{{ if and (eq .Params.action "locale") (and (not page.IsTranslated) (not site.IsMultiLingual)) }}
{{ if and (eq .Params.action "locale") (or (not page.IsTranslated) (not site.IsMultiLingual)) }}
{{ continue }}
{{ end }}
<li class="mb-1 group sm:mb-0 sm:me-7 sm:last:me-0">
Expand Down
Loading

0 comments on commit ae99b37

Please sign in to comment.