diff options
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html index cf04902..f787152 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,9 +6,12 @@ <!-- Page Content --> <div class="stripe-dark"></div> - {{ range $index, $element := where .Pages "Type" "in" .Site.Params.mainSections }} + {{ range $index, $element := (where .Pages "Type" "in" .Site.Params.mainSections).ByWeight }} <div class="stripe-dark"> - <div class="mw7 center"> + <div class="mw7 center pv2"> + <h2 class="athelas lh-title f2"> + {{ .Title }} + </h2> {{ range first 3 .Pages.ByPublishDate.Reverse }} {{ partial "post.html" . }} {{ end }} |