Lukas Herzog 4 лет назад
Родитель
Сommit
bd8ca2fd72
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      layouts/index.html

+ 1 - 1
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 }}
           </div>
           <!--- alter background color for next section --->