Add new “interrupts” section to index page (#165)

This commit is contained in:
Philipp Oppermann
2016-05-28 16:03:42 +02:00
parent 11cc57b59d
commit 929e72c8a7
2 changed files with 15 additions and 0 deletions

View File

@@ -26,4 +26,11 @@
{{ end }}
</div>
<div id="interrupts" class="post-category interrupts">Interrupts</div>
<div class="posts interrupts">
{{ range first 4 (after 8 (where .Site.Pages.ByDate "Section" "post")) }}
{{ .Render "teaser" }}
{{ end }}
</div>
{{ partial "footer.html" . }}