mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-05 02:55:30 +00:00
Let's try separating content and alm info
This commit is contained in:
7
views/routes/almanach/contents/body.gohtml
Normal file
7
views/routes/almanach/contents/body.gohtml
Normal file
@@ -0,0 +1,7 @@
|
||||
{{ $model := . }}
|
||||
|
||||
{{- if $model.result.Contents | len -}}
|
||||
{{ template "_contents" $model }}
|
||||
{{- else -}}
|
||||
<div id="almanachcontents"></div>
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user