FIX: edit pages for contents could not be reached bc of trtailing slash error

This commit is contained in:
Simon Martens
2026-01-24 14:36:17 +01:00
parent 87dc77e990
commit a869dd8676
15 changed files with 116 additions and 29 deletions

View File

@@ -0,0 +1,7 @@
{{ $model := . }}
{{- if $model.result.Contents | len -}}
{{ template "_contents" $model }}
{{- else -}}
<div id="almanachcontents"></div>
{{- end -}}