dorfylegends/backend/templates/events.html
Robert Janetzko 533d5b173f fix context
2022-04-26 18:06:21 +00:00

8 lines
276 B
HTML

<ul>
{{- range $event := .Events }}
<li>
[{{ $event.Id }}] In {{ if gt $event.Seconds72 -1 }}{{ season $event.Seconds72 }} of {{ end }}{{ $event.Year }}, {{
html ($event.Details.Html $.Context) }} {{ json $event.Details }}
</li>
{{- end}}
</ul>