summaryrefslogtreecommitdiffstats
path: root/layouts/partials/mini-toc.html
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-28 15:15:11 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-28 15:15:11 +0200
commit6b2b8e81e631a1fec44bdb94d5177cf5c56287c9 (patch)
tree994d425dd7ea4e4d57986e64fefd712de8011c03 /layouts/partials/mini-toc.html
parent512e94b28b243105e053c1090f56ac31846bc7cf (diff)
downloadgohugo-theme-ed-6b2b8e81e631a1fec44bdb94d5177cf5c56287c9.tar.gz
Added multilanguage support
Diffstat (limited to 'layouts/partials/mini-toc.html')
-rw-r--r--layouts/partials/mini-toc.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/layouts/partials/mini-toc.html b/layouts/partials/mini-toc.html
index 4d4d742..629169b 100644
--- a/layouts/partials/mini-toc.html
+++ b/layouts/partials/mini-toc.html
@@ -12,8 +12,7 @@
{{ $mxPosts := site.Params.recentPostsSize | default 5 }}
<div class="toc" role="navigation">
- {{/* TODO: Translate me */}}
- <h2>Latest Publications</h2>
+ <h2>{{ i18n "latest_publications" }}</h2>
<ul class="texts">
{{/* Range through the first $mxPosts items of the $section */}}
{{ range (first $mxPosts $section) }}