Explorar el Código

change param from name to id (#99)

Lukas Herzog hace 4 años
padre
commit
bd8ca2fd72
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 --->