You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
528 B
20 lines
528 B
<div class="{{ .context.Site.Params.background_color_class | default "bg-black" }} flex flex-wrap justify-left pt1 pb1 pl5"> |
|
|
|
{{ range $index, $element := .items }} |
|
{{ $url := $element }} |
|
{{ $text := ""}} |
|
|
|
{{ if eq $element "/"}} |
|
{{ $text = "Home"}} |
|
{{ else }} |
|
{{ $text = $element}} |
|
{{ end }} |
|
|
|
<div class="mr5" > |
|
<a href="{{ $element | relLangURL }}" class="ttu link f5 grow no-underline dib hover-white no-underline white-80 pa2"> |
|
{{ $text }} |
|
</a> |
|
</div> |
|
{{ end}} |
|
</div> |
|
|