aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2024-12-28 04:23:23 +0100
committerOscar Najera <hi@oscarnajera.com>2024-12-28 04:23:23 +0100
commit1161a5d832618aad3554b9d9bc08c14257f32bd9 (patch)
tree64d6db3df2c25fb341156c9c03e97e5f0ea517c9
parentad38af9f73351d1e70e78615c09a0bd8f4e77357 (diff)
downloadhugo-minimalist-theme-1161a5d832618aad3554b9d9bc08c14257f32bd9.tar.gz
hugo-minimalist-theme-1161a5d832618aad3554b9d9bc08c14257f32bd9.tar.bz2
hugo-minimalist-theme-1161a5d832618aad3554b9d9bc08c14257f32bd9.zip
advance translations
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--layouts/partials/header.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 8a58e75..22cae96 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -5,7 +5,7 @@
href="/{{ .Section }}/index.xml"
class="link color-inherit db tc mv2 dim"
>
- Follow {{ .Section }} updates via RSS feed
+ {{ T "rss_follow" (dict "section" (T .Section)) }}
<i class="fa-solid fa-rss"></i>
</a>
{{ end }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 2dec03a..8613478 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -27,7 +27,7 @@
href="{{ .PageRef | relLangURL }}"
>
{{ .Pre }}
- {{- or (T .Identifier) .Name | safeHTML -}}
+ {{- T .Name | title -}}
</a>
</li>
{{ end }}