basic hugo setup
This commit is contained in:
parent
18aa3c815b
commit
8d504c8420
153 changed files with 7158 additions and 0 deletions
10
tfc/themes/ananke/layouts/partials/i18nlist.html
Normal file
10
tfc/themes/ananke/layouts/partials/i18nlist.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
{{ if .IsTranslated }}
|
||||
<h4>{{ i18n "translations" }}</h4>
|
||||
<ul class="{{ cond (eq $.Site.Language.LanguageDirection "rtl") "pr0 ml3" "pl0 mr3" }}">
|
||||
{{ range .Translations }}
|
||||
<li class="list f5 f4-ns fw4 dib {{ cond (eq $.Site.Language.LanguageDirection "rtl") "pl3" "pr3" }}">
|
||||
<a class="hover-white no-underline white-90" href="{{ .RelPermalink }}">{{ .Lang }}</a>
|
||||
</li>
|
||||
{{ end}}
|
||||
</ul>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue