From 22f1890a9beab11d8cfdceba3a4d66f8bbbb468c Mon Sep 17 00:00:00 2001 From: Ian Lewis Date: Fri, 29 Mar 2019 22:40:11 -0400 Subject: Initial commit --- themes/docsy/layouts/partials/navbar-lang-selector.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 themes/docsy/layouts/partials/navbar-lang-selector.html (limited to 'themes/docsy/layouts/partials/navbar-lang-selector.html') diff --git a/themes/docsy/layouts/partials/navbar-lang-selector.html b/themes/docsy/layouts/partials/navbar-lang-selector.html new file mode 100644 index 000000000..dc592947f --- /dev/null +++ b/themes/docsy/layouts/partials/navbar-lang-selector.html @@ -0,0 +1,10 @@ +{{/* Link directly to documentation etc., if possible. */}} +{{ $langPage := cond (gt (len .Translations) 0) . .Site.Home }} + + \ No newline at end of file -- cgit v1.2.3