mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-30 01:35:32 +00:00
Some changes, path specific data
This commit is contained in:
13
views/routes/components/_alphabet.gohtml
Normal file
13
views/routes/components/_alphabet.gohtml
Normal file
@@ -0,0 +1,13 @@
|
||||
{{ $model := . }}
|
||||
|
||||
{{ if $model.letters }}
|
||||
<div class="alphabet">
|
||||
{{ range $id, $r := .letters }}
|
||||
<a
|
||||
href="?letter={{ $r }}"
|
||||
{{ if eq $model.active $r }}aria-current="page"{{ end }}
|
||||
>{{ $r }}</a
|
||||
>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user