Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gundamew/hugo-bingo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/lang-selector.html')
-rw-r--r--layouts/partials/lang-selector.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/partials/lang-selector.html b/layouts/partials/lang-selector.html
new file mode 100644
index 0000000..a2bd9fb
--- /dev/null
+++ b/layouts/partials/lang-selector.html
@@ -0,0 +1,5 @@
+<ul class="lang-selector">
+ {{ range $.Site.Home.AllTranslations }}
+ <li><a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li>
+ {{ end }}
+</ul>