Add new translations, update nav, fix tag url, change theme info

This commit is contained in:
Ivaylo Ivanov 2024-12-26 17:30:28 +01:00
parent f595ec3199
commit 502ec20d97
7 changed files with 70 additions and 29 deletions

29
i18n/bg.toml Normal file
View File

@ -0,0 +1,29 @@
[page]
other = "Страница"
[of]
other = "от"
[newer]
other = "По-нови"
[older]
other = "По-стари"
[tagged]
other = "Тагнати"
[tags]
other = "Тагове"
[read_more]
other = "Прочети повече..."
[archive]
other = "Архив"
[noteworthy_theme]
other = "Тема Noteworthy"
[built_with_hugo]
other = "Направено с Hugo"

29
i18n/de.toml Normal file
View File

@ -0,0 +1,29 @@
[page]
other = "Seite"
[of]
other = "von"
[newer]
other = "Neuere"
[older]
other = "Ältere"
[tagged]
other = "Getaggt"
[tags]
other = "Tags"
[read_more]
other = "Mehr lesen..."
[archive]
other = "Archiv"
[noteworthy_theme]
other = "Noteworthy Theme"
[built_with_hugo]
other = "Gebaut mit Hugo"

View File

@ -13,9 +13,15 @@ other = "Older"
[tagged]
other = "Tagged"
[tags]
other = "Tags"
[read_more]
other = "Read more..."
[archive]
other = "Archive"
[noteworthy_theme]
other = "Noteworthy theme"

View File

@ -1,23 +0,0 @@
[page]
other = "Pagina"
[of]
other = "di"
[newer]
other = "Successivi"
[older]
other = "Precedenti"
[tagged]
other = "Contrassegnato"
[read_more]
other = "Continua a leggere..."
[noteworthy_theme]
other = "Tema Noteworthy"
[built_with_hugo]
other = "Realizzato con Hugo"

View File

@ -26,9 +26,9 @@
{{if .Params.tags}}
<hr class="footer-divider">
{{ range .Params.tags }}
<a class="tag" href="/tags/{{ . | urlize }}">#{{.}}</a>
<a class="tag" href="{{ $.Site.BaseURL }}/tags/{{ . | urlize }}">#{{.}}</a>
{{ end }}
{{ end }}
</div>
{{end}}
{{end}}

View File

@ -5,7 +5,7 @@
{{ range .Site.Menus.main }}
<a class="color-link nav-link" href="{{ .URL | relLangURL }}">{{ .Name }}</a>
{{ end }}
<a class="color-link nav-link" href="{{ .Site.BaseURL }}/archive/">Archive</a>
<a class="color-link nav-link" href="{{ .Site.BaseURL }}/archive/">{{ i18n "archive" }}</a>
</div>
{{ partial "footer.html" . }}
</nav>

View File

@ -1,9 +1,9 @@
name = "Noteworthy"
license = "MIT"
licenselink = "https://github.com/kimcc/hugo-theme-noteworthy/blob/master/LICENSE.md"
licenselink = "https://git.ivayloivanov.eu/ivo/hugo-theme-noteworthy/src/branch/master/LICENSE.md"
description = "A minimalist Hugo theme for writers and bloggers."
homepage = "https://github.com/kimcc/hugo-theme-noteworthy"
tags = ["blog", "minimalist", "minimal", "clean", "simple", "responsive", "light"]
homepage = "https://git.ivayloivanov.eu/ivo/hugo-theme-noteworthy"
tags = ["blog", "minimalist", "minimal", "clean", "simple", "responsive", "light", "dark"]
features = ["blog", "responsive", "social media"]
min_version = "0.55.2"