small fixes

This commit is contained in:
teldra 2022-03-27 15:35:05 +02:00
parent ebc8d4c7f4
commit 1a24d414e9
2 changed files with 43 additions and 40 deletions

View File

@ -1,6 +1,7 @@
---
title: "Neue Homepage"
date: "2021-10-23T14:00:00+02:00"
featured: true
---
Wir präsentieren nun unsere neue Homepage.

View File

@ -64,6 +64,7 @@
{{- $paginator := slice -}}
{{- $paginator = .Paginate $posts.ByLastmod.Reverse -}}
{{- range first 5 $paginator.Pages -}}
{{ if ne .Params.featured true }}
<article class="articlebgcol1 borderrad25"><a href="{{- .Permalink -}}">
<div id="articletitle">
<h3>{{- .Title -}}</h3>
@ -111,6 +112,7 @@
</div>
</div>
</a></article>
{{ end }}
{{- end }}
<div id="pagination">
<!-- Number of links either side of the current page. -->