From 6b2b8e81e631a1fec44bdb94d5177cf5c56287c9 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sat, 28 May 2022 15:15:11 +0200 Subject: Added multilanguage support --- layouts/partials/footer.html | 2 +- layouts/partials/mini-toc.html | 3 +-- layouts/partials/post-meta/date.html | 5 ++--- layouts/partials/post-toc-summary.html | 2 +- layouts/partials/sidebar-toc.html | 5 ++--- 5 files changed, 7 insertions(+), 10 deletions(-) (limited to 'layouts/partials') diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 7525a24..654a7a8 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -7,7 +7,7 @@ {{ end }} {{ with .Params.editor }}

- Edited by {{ . }}, + {{ i18n "edited_by" . }}, {{ if not $.Params.Lastmod.IsZero }} {{ $.Params.Lastmod.Format "2006" }} {{ else }} 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 }}