Add a <ul> of available translation for the page to the content header
Attempt to style it.
This commit is contained in:
parent
e18453dac0
commit
667a105b2e
2 changed files with 20 additions and 6 deletions
|
|
@ -5,6 +5,14 @@
|
|||
<time>{{ .Date | time.Format "January 2, 2006" }}</time>
|
||||
{{ end }}
|
||||
|
||||
{{ if gt (len .AllTranslations) 1 }}
|
||||
<ul class=translations>
|
||||
{{ range .AllTranslations }}
|
||||
<li><a href="{{ .RelPermalink }}">{{ .Language.LanguageCode }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
||||
{{- if .Params.series -}}
|
||||
{{- $series := .GetTerms "series" -}}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue