1
Fork 0

Add title to recent pages

This commit is contained in:
Jake Howard 2017-04-23 13:07:32 +01:00
parent 1627885324
commit f1f87aaddd

View file

@ -40,6 +40,8 @@
</div> </div>
</section> </section>
<div class="box special">
<h2>Recent Posts</h2>
<div class="row"> <div class="row">
{{ range first 6 (where .Data.Pages.ByDate "Kind" "page") }} {{ range first 6 (where .Data.Pages.ByDate "Kind" "page") }}
{{ if ne .Section "" }} {{ if ne .Section "" }}
@ -56,5 +58,6 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
</div> </div>
</div>
</section> </section>
{{ partial "page_end.html" . }} {{ partial "page_end.html" . }}