hugo without theme
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user