mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 14:35:43 -06:00
Compare commits
54 commits
81a2aa35f9
...
08525e6829
Author | SHA1 | Date | |
---|---|---|---|
|
08525e6829 | ||
|
cbf083ff9a | ||
|
d8f5fb6213 | ||
|
ea0a500139 | ||
|
76d9e284a7 | ||
|
6345645094 | ||
|
84dcb63a65 | ||
|
5dc59aefbd | ||
|
c6f1ea85f7 | ||
|
9353b468bd | ||
|
0e48700847 | ||
|
234fdf8f3b | ||
|
c881801600 | ||
|
a0ab030937 | ||
|
e6a00754eb | ||
|
ef37c92237 | ||
|
bbd36a2ef7 | ||
|
9e8b165eb9 | ||
|
317cd183b1 | ||
|
18f17a9c51 | ||
|
ec91103321 | ||
|
9b5339db57 | ||
|
4de04aec44 | ||
|
c6ba36a470 | ||
|
703cb68f80 | ||
|
0ca678531c | ||
|
f20d063d7c | ||
|
0b50f6ce22 | ||
|
d7a2d9450f | ||
|
221fe896eb | ||
|
8e67e8e55f | ||
|
77fcb98e75 | ||
|
596bc11cc6 | ||
|
fbe468e21c | ||
|
6537023a09 | ||
|
a88dab3179 | ||
|
ba8454a790 | ||
|
2abd24dcb1 | ||
|
178a2f4849 | ||
|
706b694303 | ||
|
f506883a91 | ||
|
7c7c0c2114 | ||
|
274b566734 | ||
|
64cfe7b102 | ||
|
6f95415af4 | ||
|
5e33decff2 | ||
|
947558cbe7 | ||
|
b36fc3c94c | ||
|
3f9e2c9687 | ||
|
4dccd5f297 | ||
|
e45c0485bc | ||
|
18c3a6156e | ||
|
c87b0156f1 | ||
|
6cff148d61 |
19 changed files with 1515 additions and 1575 deletions
2
.github/workflows/hugo-version-update.yml
vendored
2
.github/workflows/hugo-version-update.yml
vendored
|
@ -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
|
||||
|
|
4
assets/lib/chart/chart.min.js
vendored
4
assets/lib/chart/chart.min.js
vendored
File diff suppressed because one or more lines are too long
1713
assets/lib/mermaid/mermaid.min.js
vendored
1713
assets/lib/mermaid/mermaid.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -2,4 +2,4 @@
|
|||
[module.hugoVersion]
|
||||
extended = true
|
||||
min = "0.87.0"
|
||||
max = "0.134.0"
|
||||
max = "0.135.0"
|
|
@ -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'
|
||||
|
||||
|
|
|
@ -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` |
|
||||
|
|
|
@ -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` |
|
||||
|
|
|
@ -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` |
|
||||
|
|
|
@ -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` |
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 语言
|
||||
|
||||
|
|
|
@ -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": "Xeonzilla’s Note",
|
||||
"url": "https://xeonzilla.github.io",
|
||||
|
@ -758,4 +776,4 @@
|
|||
"Blog"
|
||||
]
|
||||
}
|
||||
]
|
||||
]
|
|
@ -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
75
i18n/eo.yaml
Normal 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 }} & {{ .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
1226
package-lock.json
generated
File diff suppressed because it is too large
Load diff
18
package.json
18
package.json
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
v0.133.1
|
||||
v0.135.0
|
||||
|
|
Loading…
Reference in a new issue