From 9cd378a2d27ad4c9cb2e46d12022e68e23f96ea7 Mon Sep 17 00:00:00 2001 From: Alex Ivanov Date: Sun, 10 Nov 2019 01:27:11 +0300 Subject: Multilang (#93) * Add i18n langs trans example * partials * Update sample site * cc of variables of config * Clean PR * revert master data --- layouts/partials/docs/menu.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'layouts/partials/docs/menu.html') diff --git a/layouts/partials/docs/menu.html b/layouts/partials/docs/menu.html index 6a72ac9..3d04b04 100644 --- a/layouts/partials/docs/menu.html +++ b/layouts/partials/docs/menu.html @@ -10,6 +10,11 @@ {{ end }} {{ partial "docs/inject/menu-after" . }} + +{{ if .Site.IsMultiLingual }} + {{ partial "docs/translation-switch" . }} + {{ partial "docs/language-switch" . }} +{{ end }} -- cgit v1.2.3