fix style

This commit is contained in:
Mivinci 2022-04-14 09:49:24 +08:00
parent 5a2a7cc35a
commit ef4d32b949
3 changed files with 7 additions and 3 deletions

View file

@ -4,9 +4,9 @@
<p class="my-0">{{ .Site.Author.slogon }}</p>
<p class="my-3 home-intro">{{ .Site.Author.description | markdownify | safeHTML }}</p>
{{ if eq .Paginator.PageNumber 1 }}
<h3 class="my-6">Recent Posts</h3>
<h3 class="my-6">{{ .Site.Params.recent }}</h3>
{{ else }}
<h3 class="my-6">Older Posts</h3>
<h3 class="my-6">{{ .Site.Params.older }}</h3>
{{ end }}
<div>
{{ $paginator := .Paginate (where .Site.RegularPages "Kind" "page") }}