From b89913c2aa4c71d1f784b58c86ce545d0fa8e34f Mon Sep 17 00:00:00 2001 From: Sebastian Pech Date: Sat, 13 Feb 2021 14:12:28 +0100 Subject: Better translations menu --- layouts/partials/i18nlist.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/layouts/partials/i18nlist.html b/layouts/partials/i18nlist.html index 282ebd1..39ae941 100644 --- a/layouts/partials/i18nlist.html +++ b/layouts/partials/i18nlist.html @@ -2,10 +2,17 @@
{{ i18n "translations" }}
+{{ else if gt (len $.Site.Home.AllTranslations) 0 }} +
{{ i18n "translations" }}
+ {{ end }} -- cgit v1.2.3