mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-17 11:39:29 -07:00
chore(params.toml): add website title parameter for better customization chore(baseof.html): update page title to use the website title parameter chore(nav.html): update navigation link to use the website title parameter
36 lines
1.1 KiB
HTML
36 lines
1.1 KiB
HTML
<nav>
|
||
<div class="navArtist">
|
||
<a href="/">{{ .Site.Params.title }}</a>
|
||
</div>
|
||
<div class="links">
|
||
{{- $index := 0 -}}
|
||
{{- $menus := .Site.Menus.main -}}
|
||
{{- $len := len $menus }}
|
||
{{- range $menus -}}
|
||
{{- $url := .URL | relLangURL -}}
|
||
{{- if eq (add $index 1) $len -}}
|
||
<a href="{{- .URL | relLangURL -}}" class="link">{{- .Identifier -}}</a>
|
||
{{- else -}}
|
||
<a href="{{- .URL | relLangURL -}}" class="link">{{- .Identifier -}}</a>, 
|
||
{{- end -}}
|
||
{{- $index = add $index 1 -}}
|
||
{{- end -}}
|
||
</div>
|
||
<div class="threshold">
|
||
<span>Threshold:</span>
|
||
<span>
|
||
<button class="dec">-</button>
|
||
<span class="num"></span><span class="num"></span><span class="num"></span
|
||
><span class="num"></span>
|
||
<button class="inc">+</button>
|
||
</span>
|
||
</div>
|
||
<div class="index">
|
||
<span class="num"></span><span class="num"></span><span class="num"></span
|
||
><span class="num"></span>
|
||
<span>/</span>
|
||
<span class="num"></span><span class="num"></span><span class="num"></span
|
||
><span class="num"></span>
|
||
</div>
|
||
</nav>
|