dashboard
repositories
filestore
activity
search
login
external-software
/
github_gohugo-theme-ananke
mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
refactor: move all template methods to proper GoHugo methods
Patrick Kollitsch
10.29.2025
180471112e2ccc50150a90cab1684f70ea635390
[external-software/github_gohugo-theme-ananke.git]
/
layouts
/
partials
/
i18nlist.html
1
2
3
4
5
6
7
8
9
10
{{ if .IsTranslated }}
<h4>{{ lang.Translate "translations" }}</h4>
<ul class="{{ compare.Conditional (compare.Eq $.Site.Language.LanguageDirection "rtl") "pr0 ml3" "pl0 mr3" }}">
{{ range .Translations }}
<li class="list f5 f4-ns fw4 dib {{ compare.Conditional (compare.Eq $.Site.Language.LanguageDirection "rtl") "pl3" "pr3" }}">
<a class="hover-white no-underline white-90" href="{{ .RelPermalink }}">{{ .Lang }}</a>
</li>
{{ end}}
</ul>
{{ end }}