change param from name to id (#99)

This commit is contained in:
Lukas Herzog 2020-10-14 04:58:19 +02:00 committed by GitHub
parent 68584d749e
commit bd8ca2fd72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 --->