From bb7ee238d805a5d0d71d1cfa7e37adf8c30fff72 Mon Sep 17 00:00:00 2001 From: Lukas Herzog Date: Tue, 13 Oct 2020 17:48:53 +0200 Subject: [PATCH] change param from name to id --- 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 }}