From ba675a3bf24c1a2fc4afd37caaaefb8b9f80a18c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20M=2E=20Sapka?= Date: Fri, 24 Feb 2023 21:23:37 +0100 Subject: feat: prelimiary work on new layout --- layouts/_default/list.html | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) (limited to 'layouts/_default/list.html') diff --git a/layouts/_default/list.html b/layouts/_default/list.html index e8a26088..c27ce175 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,23 +1,19 @@ {{ define "main" }} -{{ $paginator := (.Paginator.Pages) }}. -{{ $paginator := .Paginate (where .Data.Pages "Type" "posts") }} -{{ range $paginator.Pages }} -
+ - {{ end }} - - - - +
{{ end }} -- cgit v1.2.3