Commit 36cdcecb authored by Daniel Brötzmann's avatar Daniel Brötzmann

Limit posts on start page to 3

parent d5e5ec13
Pipeline #4092 failed with stage
......@@ -10,7 +10,7 @@
<div class="posts-list">
{{ $pag := .Paginate (where .Data.Pages "Type" "post") }}
{{ range $pag.Pages }}
{{ range first 3 $pag.Pages }}
<article class="post-preview">
<a href="{{ .Permalink }}">
<h2 class="post-title">{{ .Title }}</h2>
......
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