Commit 7767e087 authored by edavidaja's avatar edavidaja

mainsections

parent c0f75a58
......@@ -5,7 +5,7 @@
<div id="home">
<h2>Posts</h2>
<ul class="posts">
{{ $section := where $.Site.RegularPages "Section" "post"}}
{{ $section := where site.RegularPages "Type" "in" site.Params.mainSections }}
{{ range first 5 $section }}
<li>
<a href="{{ .Page.Permalink }}">{{ .Title }}</a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment