From 7721f7dfdbb2ba90c1cbb3c6d10cb9606ea37b3b Mon Sep 17 00:00:00 2001 From: Dominik Juelg Date: Sat, 22 Aug 2020 14:33:01 +0200 Subject: fixed pagination and other small bugs --- layouts/_default/list.html | 2 +- layouts/_default/single.html | 2 +- layouts/index.html | 3 ++- layouts/partials/face.svg | 8 ++++---- static/css/default.css | 3 ++- 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 78ae0ed..00a55ed 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -9,7 +9,7 @@ {{ range .Data.Pages.ByDate.Reverse }}
-

{{ .Site.Title }}

+

{{ .Site.Title }}

· Home Playground diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 20d4a9d..bc41450 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -8,7 +8,7 @@
-

{{ .Site.Title }}

+

{{ .Site.Title }}

· Home Playground diff --git a/layouts/index.html b/layouts/index.html index 3cc9820..0adc748 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -24,8 +24,9 @@
{{ end }} - {{ $paginator := .Paginate (where .Data.Pages "Type" "post") }} + {{ $paginator := .Paginate (where .Site.RegularPages "Section" "posts") 2 }} {{ range $paginator.Pages.ByDate.Reverse }} +


{{ .Date.Format "02" }}


{{ .Date.Format "January" | upper }} diff --git a/layouts/partials/face.svg b/layouts/partials/face.svg index c21da67..eecfa6c 100755 --- a/layouts/partials/face.svg +++ b/layouts/partials/face.svg @@ -15,7 +15,7 @@ style="fill:#333;"/> - + @@ -35,7 +35,7 @@ - + @@ -55,7 +55,7 @@