Merge branch 'dev' into main

This commit is contained in:
Nuno Coração 2024-10-04 15:37:35 +01:00 committed by GitHub
commit 08525e6829
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 1515 additions and 1575 deletions

View file

@ -37,7 +37,7 @@ jobs:
- name: Create Pull Request
if: steps.git-check.outputs.modified == 'true'
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
with:
commit-message: Update Hugo supported version
title: ⚙️ Update Hugo supported version

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -2,4 +2,4 @@
[module.hugoVersion]
extended = true
min = "0.87.0"
max = "0.134.0"
max = "0.135.0"

View file

@ -10,7 +10,6 @@ disableLanguages = [] #to allow translation work requiring shipping to productio
# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles
enableRobotsTXT = true
paginate = 100
summaryLength = 30
hasCJKLanguage = true
@ -21,6 +20,9 @@ enableEmoji = true
googleAnalytics = "G-PEDMYR1V0K"
[pagination]
pagerSize = 100
[imaging]
anchor = 'Center'

View file

@ -44,7 +44,7 @@ Tieni presente che i nomi delle variabili forniti in questa tabella utilizzano i
| `baseURL` | _Not set_ | The URL to the root of the website. |
| `defaultContentLanguage` | `"en"` | This value determines the default language of theme components and content. Refer to the [language and i18n](#language-and-i18n) section below for supported language codes. |
| `enableRobotsTXT` | `true` | Se abilitato, verrà creato un file "robots.txt" nella radice del sito che consentirà ai motori di ricerca di eseguire la scansione dell'intero sito. Se preferisci fornire il tuo file `robots.txt` predefinito, impostalo su `false` e posiziona il file nella directory `static`. Per un controllo completo, puoi fornire un [layout personalizzato]({{< ref "content-examples#custom-layouts" >}}) per generare questo file. |
| `paginate` | `10` | Il numero di articoli elencati in ciascuna pagina dell'elenco degli articoli. |
| `pagination.pagerSize` | `10` | Il numero di articoli elencati in ciascuna pagina dell'elenco degli articoli. |
| `summaryLength` | `0` | Il numero di parole utilizzate per generare il riepilogo dell'articolo quando non ne viene fornita una nella [front matter]({{< ref "front-matter" >}}). Un valore pari a "0" utilizzerà la prima frase. Questo valore non ha effetto quando i riepiloghi sono nascosti. |
| `outputs.home` | `["HTML", "RSS", "JSON"]` | I formati di output generati per il sito. Blowfish richiede HTML, RSS e JSON affinché tutti i componenti del tema funzionino correttamente. |
| `permalinks` | _Not set_ | Fare riferimento alla [documentazione di Hugo](https://gohugo.io/content-management/urls/#permalinks) per la configurazione del permalink. |
@ -72,6 +72,7 @@ Il tema attualmente supporta le seguenti lingue per impostazione predefinita:
| Czech | `cs` |
| German | `de` |
| English | `en` |
| Esperanto | `eo` |
| Spanish (Spain) | `es` |
| Finnish | `fi` |
| French | `fr` |

View file

@ -43,7 +43,7 @@ Note that the variable names provided in this table use dot notation to simplify
| `baseURL` | _Not set_ | The URL to the root of the website. |
| `defaultContentLanguage` | `"en"` | This value determines the default language of theme components and content. Refer to the [language and i18n](#language-and-i18n) section below for supported language codes. |
| `enableRobotsTXT` | `true` | When enabled, a `robots.txt` file will be created in the site root that allows search engines to crawl the entire site. If you prefer to provide your own pre-made `robots.txt`, set to `false` and place your file in the `static` directory. For complete control, you may provide a [custom layout]({{< ref "content-examples#custom-layouts" >}}) to generate this file. |
| `paginate` | `10` | The number of articles listed on each page of the article listing. |
| `pagination.pagerSize` | `10` | The number of articles listed on each page of the article listing. |
| `summaryLength` | `0` | The number of words that are used to generate the article summary when one is not provided in the [front matter]({{< ref "front-matter" >}}). A value of `0` will use the first sentence. This value has no effect when summaries are hidden. |
| `outputs.home` | `["HTML", "RSS", "JSON"]` | The output formats that are generated for the site. Blowfish requires HTML, RSS and JSON for all theme components to work correctly. |
| `permalinks` | _Not set_ | Refer to the [Hugo docs](https://gohugo.io/content-management/urls/#permalinks) for permalink configuration. |
@ -71,6 +71,7 @@ The theme currently supports the following languages by default:
| Czech | `cs` |
| German | `de` |
| English | `en` |
| Esperanto | `eo` |
| Spanish (Spain) | `es` |
| Finnish | `fi` |
| French | `fr` |

View file

@ -43,7 +43,7 @@ Note that the variable names provided in this table use dot notation to simplify
| `baseURL` | _Not set_ | The URL to the root of the website. |
| `defaultContentLanguage` | `"en"` | This value determines the default language of theme components and content. Refer to the [language and i18n](#language-and-i18n) section below for supported language codes. |
| `enableRobotsTXT` | `true` | When enabled, a `robots.txt` file will be created in the site root that allows search engines to crawl the entire site. If you prefer to provide your own pre-made `robots.txt`, set to `false` and place your file in the `static` directory. For complete control, you may provide a [custom layout]({{< ref "content-examples#custom-layouts" >}}) to generate this file. |
| `paginate` | `10` | The number of articles listed on each page of the article listing. |
| `pagination.pagerSize` | `10` | The number of articles listed on each page of the article listing. |
| `summaryLength` | `0` | The number of words that are used to generate the article summary when one is not provided in the [front matter]({{< ref "front-matter" >}}). A value of `0` will use the first sentence. This value has no effect when summaries are hidden. |
| `outputs.home` | `["HTML", "RSS", "JSON"]` | The output formats that are generated for the site. Blowfish requires HTML, RSS and JSON for all theme components to work correctly. |
| `permalinks` | _Not set_ | Refer to the [Hugo docs](https://gohugo.io/content-management/urls/#permalinks) for permalink configuration. |
@ -71,6 +71,7 @@ The theme currently supports the following languages by default:
| Czech | `cs` |
| German | `de` |
| English | `en` |
| Esperanto | `eo` |
| Spanish (Spain) | `es` |
| Finnish | `fi` |
| French | `fr` |

View file

@ -44,7 +44,7 @@ Blowfish 主题支持了 Hugo 框架中定义的所有标准配置变量。但
| `baseURL` | 无 | 网站 URL 根地址。 |
| `defaultContentLanguage` | `"en"` | 这个值决定了主题中组件和内容所使用的默认语言。 参考 [语言和 i18n](#language-and-i18n) 部分来了解 blowfish 支持的所有语言代码。 |
| `enableRobotsTXT` | `true` | 当开启这个值,`robots.txt` 文件将会被创建在站点根目录, 这将允许搜索引擎抓取整个网站。如果你想要自己提供 `robots.txt`,那么设置这个值为 `false` 并把你的文件放置到 `static` 目录下。 为了实现完全控制,你可以需要提供一个 [自定义布局]({{< ref "content-examples#custom-layouts" >}}) 来生成此文件。 |
| `paginate` | `10` | 定义文章列表中,每页展示的文章数量。 |
| `pagination.pagerSize` | `10` | 定义文章列表中,每页展示的文章数量。 |
| `summaryLength` | `0` | 当[扉页参数]({{< ref "front-matter" >}}) 中没有提供文章摘要时,此参数定义了自动生成文章摘要的单词数量。如果值为`0`,则默认使用第一句话作为摘要。当摘要被隐藏,这个值没有任何效果。 |
| `outputs.home` | `["HTML", "RSS", "JSON"]` | 为站点自动生成输出格式。Blowfish 要求 HTML、RSS 和 JSON 都需要有,以保证主题组件可以正常运作。 |
| `permalinks` | 无 | 参考 [Hugo 文档](https://gohugo.io/content-management/urls/#permalinks) 中的自定义文章的固定链接配置。 |
@ -72,6 +72,7 @@ Blowfish 主题目前默认支持了以下语言:
| Czech | `cs` |
| German | `de` |
| English | `en` |
| Esperanto | `eo` |
| Spanish (Spain) | `es` |
| Finnish | `fi` |
| French | `fr` |

View file

@ -26,7 +26,7 @@ Blowfish è ora multilingue! Una funzionalità molto richiesta. Se pubblichi i t
<div class="text-2xl text-center" style="font-size: 2.8rem">:gb: :de: :fr: :es: :cn: :brazil: :tr: :bangladesh:</div>
Grazie ai contributi della community, Blowfish è già stato tradotto in [ventisei lingue](https://github.com/nunocoracao/blowfish/tree/main/i18n) e altre verranno aggiunte nel tempo. A proposito, le [richieste pull](https://github.com/nunocoracao/blowfish/pulls) per nuove lingue sono sempre benvenute!
Grazie ai contributi della community, Blowfish è già stato tradotto in [trenta lingue](https://github.com/nunocoracao/blowfish/tree/main/i18n) e altre verranno aggiunte nel tempo. A proposito, le [richieste pull](https://github.com/nunocoracao/blowfish/pulls) per nuove lingue sono sempre benvenute!
## Supporto per la lingua RTL

View file

@ -26,7 +26,7 @@ A highly requested feature, Blowfish is now multilingual! If you publish your co
<div class="text-2xl text-center" style="font-size: 2.8rem">:gb: :de: :fr: :es: :cn: :brazil: :tr: :bangladesh:</div>
Thanks to submissions from the community, Blowfish has already been translated into [twenty-six languages](https://github.com/nunocoracao/blowfish/tree/main/i18n) with more to be added over time. By the way, [pull requests](https://github.com/nunocoracao/blowfish/pulls) for new languages are always welcome!
Thanks to submissions from the community, Blowfish has already been translated into [thirty languages](https://github.com/nunocoracao/blowfish/tree/main/i18n) with more to be added over time. By the way, [pull requests](https://github.com/nunocoracao/blowfish/pulls) for new languages are always welcome!
## RTL language support

View file

@ -26,7 +26,7 @@ A highly requested feature, Blowfish is now multilingual! If you publish your co
<div class="text-2xl text-center" style="font-size: 2.8rem">:gb: :de: :fr: :es: :cn: :brazil: :tr: :bangladesh:</div>
Thanks to submissions from the community, Blowfish has already been translated into [twenty-nine languages](https://github.com/nunocoracao/blowfish/tree/main/i18n) with more to be added over time. By the way, [pull requests](https://github.com/nunocoracao/blowfish/pulls) for new languages are always welcome!
Thanks to submissions from the community, Blowfish has already been translated into [thirty languages](https://github.com/nunocoracao/blowfish/tree/main/i18n) with more to be added over time. By the way, [pull requests](https://github.com/nunocoracao/blowfish/pulls) for new languages are always welcome!
## RTL language support

View file

@ -29,7 +29,7 @@ Tailwind CSS 带来了性能优化,并提供了一些出色的新的 CSS 特
<div class="text-2xl text-center" style="font-size: 2.8rem">:gb: :de: :fr: :es: :cn: :brazil: :tr: :bangladesh:</div>
感谢社区的贡献,目前 Blowfish 已经翻译成二十六种语言,并且随着时间的推移还会支持更多。 顺便一提,欢迎你为支持新语言提交 [PR](https://github.com/nunocoracao/blowfish/pulls)。
感谢社区的贡献,目前 Blowfish 已经翻译成三十种语言,并且随着时间的推移还会支持更多。 顺便一提,欢迎你为支持新语言提交 [PR](https://github.com/nunocoracao/blowfish/pulls)。
## 支持 RTL 语言

View file

@ -739,7 +739,7 @@
"Personal Site",
"Blog"
]
},
},
{
"title": "andrealucchini.com",
"url": "https://andrealucchini.com",
@ -749,6 +749,24 @@
"Blog"
]
},
{
"title": "utrodus.com",
"url": "https://utrodus.com",
"source": "https://github.com/utrodus/utrodus.com",
"tags": [
"Portfolio Site",
"Blog"
]
},
{
"title": "hetong-re4per.com",
"url": "https://hetong-re4per.com",
"source": "https://github.com/HeTongRe4per/HeTongRe4per.github.io",
"tags": [
"Personal site",
"Blog"
]
},
{
"title": "Xeonzillas Note",
"url": "https://xeonzilla.github.io",
@ -758,4 +776,4 @@
"Blog"
]
}
]
]

View file

@ -67,6 +67,8 @@ sharing:
reddit: "Submit to Reddit"
twitter: "Tweet on Twitter"
bluesky: "Post on Bluesky"
whatsapp: "Share via WhatsApp"
telegram: "Share via Telegram"
shortcode:
recent_articles: "Recent"

75
i18n/eo.yaml Normal file
View file

@ -0,0 +1,75 @@
global:
language: "EO"
article:
anchor_label: "Ankro"
date: "{{ .Date }}"
date_updated: "Ĝisdatigita: {{ .Date }}"
draft: "Malneto"
edit_title: "Redakti enhavon"
reading_time:
one: "{{ .Count }} min"
other: "{{ .Count }} min"
reading_time_title: "Legotempo"
table_of_contents: "Enhavotabelo"
word_count:
one: "{{ .Count }} vorto"
other: "{{ .Count }} vortoj"
views:
one: "{{ .Count }} vido"
other: "{{ .Count }} vidoj"
likes:
one: "{{ .Count }} ŝato"
other: "{{ .Count }} ŝatoj"
part_of_series: "Tiu ĉi artikolo estas parto de serio."
part: "Parto"
this_article: "Tiu ĉi artikolo"
related_articles: "Rilataj"
zen_mode_title:
enable: "Ŝalti zen-reĝimon"
disable: "Malŝalti zen-reĝimon"
author:
byline_title: "Aŭtoro"
code:
copy: "Kopii"
copied: "Kopiita"
error:
404_title: "Paĝo ne trovita :confused:"
404_error: "Eraro 404"
404_description: "Ŝajnas, ke la paĝo, kiun vi petis, ne ekzistas."
footer:
dark_appearance: "Ŝalti malhelan etoson"
light_appearance: "Ŝalti helan etoson"
powered_by: "Funciigata de {{ .Hugo }} &amp; {{ .Theme }}"
list:
externalurl_title: "Ligola al ekstera retejo"
no_articles: "Ankoraŭ ne estas artikoloj ĉi tie listendaj."
nav:
scroll_to_top_title: "Rulumi al supro"
skip_to_main: "Salti al ĉefa enhavo"
search:
open_button_title: "Serĉi (/)"
close_button_title: "Fermi (Esc)"
input_placeholder: "Serĉo"
sharing:
email: "Sendi per retpoŝto"
facebook: "Konigi en Facebook"
linkedin: "Konigi en LinkedIn"
pinterest: "Alpingli sur Pinterest"
reddit: "Sendi al Reddit"
twitter: "Pepi per Twitter"
bluesky: "Afiŝi en Bluesky"
shortcode:
recent_articles: "Freŝaj"
recent:
show_more: "Montri pli"

1226
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
{
"name": "hugo-blowfish-theme",
"version": "2.77.1",
"version": "2.78.0",
"description": "Blowfish theme for Hugo.",
"scripts": {
"postinstall": "vendor-copy",
@ -34,23 +34,23 @@
},
"homepage": "https://github.com/nunocoracao/blowfish#readme",
"devDependencies": {
"@tailwindcss/typography": "^0.5.14",
"chart.js": "^4.4.3",
"@tailwindcss/typography": "^0.5.15",
"chart.js": "^4.4.4",
"fuse.js": "^7.0.0",
"jquery": "^3.7.1",
"katex": "^0.16.11",
"lite-youtube-embed": "^0.3.3",
"mermaid": "^10.9.1",
"mermaid": "^11.2.1",
"packery": "^2.1.2",
"prettier": "^3.3.3",
"prettier-plugin-go-template": "^0.0.15",
"prettier-plugin-tailwindcss": "^0.6.6",
"puppeteer": "^23.2.0",
"prettier-plugin-tailwindcss": "^0.6.8",
"puppeteer": "^23.5.0",
"rimraf": "^6.0.1",
"tailwind-scrollbar": "^3.1.0",
"tailwindcss": "^3.4.10",
"tw-elements": "2.0.0",
"typeit": "^8.8.4",
"typeit": "^8.8.5",
"vendor-copy": "^3.0.1"
},
"vendorCopy": [],
@ -109,10 +109,10 @@
}
],
"dependencies": {
"@headlessui/react": "^2.1.2",
"@headlessui/react": "^2.1.8",
"@heroicons/react": "^2.1.5",
"@iamtraction/google-translate": "^2.0.1",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/forms": "^0.5.9",
"commander": "^12.1.0"
}
}

View file

@ -1 +1 @@
v0.133.1
v0.135.0