hugo without theme

This commit is contained in:
2020-10-13 21:44:56 +02:00
parent 611cdec8bd
commit a406d6a66e
723 changed files with 1253 additions and 0 deletions
+20
View File
@@ -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>