next/previous article/project section rewritten

This commit is contained in:
Vrifox 2020-09-22 14:10:53 +02:00
parent 8f44f2d329
commit fb24b7e480
7 changed files with 46 additions and 97 deletions

View file

@ -13,7 +13,7 @@
</section>
<h1>latest <a href="{{ "/blog" | relURL }}">posts</a></h1>
<section class="section-articles">
{{ range first 3 (where .Site.RegularPages "Type" "post") }}
{{ range first 2 (where .Site.RegularPages "Type" "post") }}
<a href="{{ .Permalink }}">
<article>
<h1>{{ .Title }}</h1>