Files
bridget/layouts/partials/nav.html
Sped0n df5d839074 chore(link.html): update critical style source and options to improve performance and maintainability
chore(link.html): update main style source and options to improve performance and maintainability
chore(link.html): remove unused meta.html file
chore(nav.html): update decrement and increment buttons to use Unicode characters for better accessibility
chore(plugin/style.html): update style plugin to support inline styles for critical CSS
chore(plugin/style.html): update style plugin to support minification and fingerprinting for main CSS
chore(plugin/style.html): remove script plugin as it is no longer used
chore(plugin/style.html): update style plugin to support inline styles for critical CSS
chore(plugin/style.html): update style plugin to support minification and fingerprinting for main CSS
chore(resources/imageJSON.html): update image resize options for better performance and quality
2023-11-01 23:09:53 +08:00

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>,&nbsp
{{- end -}}
{{- $index = add $index 1 -}}
{{- end -}}
</div>
<div class="threshold">
<span>Threshold:</span>
<span>
<button class="dec">&#xFF0D;</button>
<span class="num"></span><span class="num"></span><span class="num"></span
><span class="num"></span>
<button class="inc">&#xFF0B;</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>