diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2019-06-19 21:18:55 +0200 |
---|---|---|
committer | Dimitri Staessens <dimitri@ouroboros.rocks> | 2019-06-19 21:18:55 +0200 |
commit | 615d2211463e073a65b0de60c61ab1184b14b958 (patch) | |
tree | a7635aec59a689152061c00e8a462382112792f4 /themes/ananke/layouts/partials/i18nlist.html | |
parent | 2a2311ea3fb1b89a266668bfd16aa96475fc183e (diff) | |
download | website-615d2211463e073a65b0de60c61ab1184b14b958.tar.gz website-615d2211463e073a65b0de60c61ab1184b14b958.zip |
theme: Switch to ananke theme
Diffstat (limited to 'themes/ananke/layouts/partials/i18nlist.html')
-rw-r--r-- | themes/ananke/layouts/partials/i18nlist.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/themes/ananke/layouts/partials/i18nlist.html b/themes/ananke/layouts/partials/i18nlist.html new file mode 100644 index 0000000..ba7c1ea --- /dev/null +++ b/themes/ananke/layouts/partials/i18nlist.html @@ -0,0 +1,10 @@ +{{ if .IsTranslated }} +<h4>{{ i18n "translations" }}</h4> +<ul class="pl0 mr3"> + {{ range .Translations }} + <li class="list f5 f4-ns fw4 dib pr3"> + <a class="hover-white no-underline white-90" href="{{ .Permalink }}">{{ .Lang }}</a> + </li> + {{ end}} +</ul> +{{ end }} |