adopt links tags
All checks were successful
Website build and deploy / build (push) Successful in 28s

This commit is contained in:
2024-09-03 10:03:34 +02:00
parent 5e29923981
commit 900798abb4
2 changed files with 45 additions and 45 deletions

View File

@@ -8,7 +8,7 @@
{{- $tags := slice -}}
{{- range .lang }}{{ $tags = $tags | append . }}{{ end -}}
{{- range .tags }}{{ $tags = $tags | append . }}{{ end -}}
<li class="link" tags="{{ delimit $tags " " }}">
<li class="link" tags="{{ delimit $tags ' ' }}">
{{ .desc -}}&nbsp;&nbsp;
{{- $len := (len .links) -}} <!-- amount of elements under .links -->
{{- range $index, $element := .links -}} <!-- range over links, but keep index -->