From bd8ca2fd72decc10d31f03de5dc2a6b197a0d9fa Mon Sep 17 00:00:00 2001 From: Lukas Herzog Date: Wed, 14 Oct 2020 04:58:19 +0200 Subject: [PATCH] change param from name to id (#99) --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index 74dd04e..d742e14 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -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 }}