1
Fork 0

Section not kind

This commit is contained in:
Jake Howard 2017-04-24 09:17:48 +01:00
parent c39f153d27
commit 0a1eec3d47

View file

@ -43,7 +43,7 @@
<div class="box special"> <div class="box special">
<h2>Projects</h2> <h2>Projects</h2>
<div class="row"> <div class="row">
{{ range first 6 (where .Data.Pages.ByDate "Kind" "projects") }} {{ range first 6 (where .Data.Pages.ByDate "Section" "projects") }}
{{ if ne .Section "" }} {{ if ne .Section "" }}
{{ partial "box.html" . }} {{ partial "box.html" . }}
{{ end }} {{ end }}