mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 17:15:31 +00:00
Added a lot of different things
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
{{ $y := .model.Year }}
|
||||
|
||||
{{ range $year := .model.AvailableYears }}
|
||||
<a href="/{{ $year }}" aria-active="{{ eq $year $y }}">{{ $year }}</a>
|
||||
<a href="/{{ $year }}" {{ if eq $year $y }}aria-current="page"{{ end }}>{{ $year }}</a>
|
||||
{{ end }}
|
||||
{{ range $index, $month := .model.Issues }}
|
||||
|
||||
|
||||
@@ -15,7 +15,11 @@ Issue found!
|
||||
<ol>
|
||||
{{ range $issue := $piece.IssueRefs }}
|
||||
<li>
|
||||
<a href="/{{- $issue.Datum -}}/{{- $issue.Nr -}}">
|
||||
<a
|
||||
href="/{{- $issue.Datum -}}/{{- $issue.Nr -}}"
|
||||
{{ if and (eq $issue.Nr $model.No) (eq $issue.Datum $model.Year) }}
|
||||
aria-current="page"
|
||||
{{ end }}>
|
||||
{{- $issue.Datum }} Nr.
|
||||
{{ $issue.Nr -}}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user