From 26de844a1981ff5abfc1a57893cedb2eb4b7a33e Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Wed, 18 Aug 2021 11:12:50 +0200 Subject: #343, #165: Move lang selector to left menu --- layouts/partials/docs/languages.html | 38 +++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 18 deletions(-) (limited to 'layouts/partials/docs/languages.html') diff --git a/layouts/partials/docs/languages.html b/layouts/partials/docs/languages.html index 4020275..644f6ea 100644 --- a/layouts/partials/docs/languages.html +++ b/layouts/partials/docs/languages.html @@ -2,7 +2,7 @@ {{ $bookTranslatedOnly := default false .Site.Params.BookTranslatedOnly }} {{ $translations := dict }} {{ if (eq $bookTranslatedOnly false ) }} - {{ range .Site.Home.AllTranslations }} + {{ range .Site.Home.Translations }} {{ $translations = merge $translations (dict .Language.Lang .) }} {{ end }} {{ end }} @@ -10,22 +10,24 @@ {{ $translations = merge $translations (dict .Language.Lang .) }} {{ end }} -
- - -
+ + + + + -- cgit v1.2.3