mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-30 01:25:30 +00:00
Templates angepasst
This commit is contained in:
@@ -20,11 +20,11 @@
|
||||
{{ range $issue := $piece.IssueRefs }}
|
||||
<li>
|
||||
<a
|
||||
href="/{{- $issue.Datum -}}/{{- $issue.Nr -}}"
|
||||
{{ if and (eq $issue.Nr $model.No) (eq $issue.Datum $model.Year) }}
|
||||
href="/{{- $issue.When -}}/{{- $issue.Nr -}}"
|
||||
{{ if and (eq $issue.Nr $model.No) (eq $issue.When.Year $model.Datum.When.Year) }}
|
||||
aria-current="page"
|
||||
{{ end }}>
|
||||
{{- $issue.Datum }} Nr.
|
||||
{{- $issue.When.Year }} Nr.
|
||||
{{ $issue.Nr -}}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user