change param from name to id

This commit is contained in:
Lukas Herzog 2020-10-13 17:48:53 +02:00
parent cf4f3ba538
commit bb7ee238d8

View file

@ -42,7 +42,7 @@
{{ if .section.template }}
{{- partial .section.template . -}}
{{ else }}
{{- partial (printf "sections/%s.html" (replace (lower .section.name) " " "-")) . -}}
{{- partial (printf "sections/%s.html" (replace (lower .section.id) " " "-")) . -}}
{{ end }}
</div>
<!--- alter background color for next section --->