From 015ed4cfa2db4636e03debcda0d4201f24346098 Mon Sep 17 00:00:00 2001
From: Aiden Bai 白宇彤 <aiden.bai05@gmail.com>
Date: Sun, 03 Jul 2022 02:40:18 +0000
Subject: [PATCH] Fix `width: auto` for SPA routing (#156)
---
layouts/_default/section.html | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/layouts/_default/section.html b/layouts/_default/section.html
index 3b9741e..abdf0b0 100644
--- a/layouts/_default/section.html
+++ b/layouts/_default/section.html
@@ -14,7 +14,8 @@
</header>
<article>
<h1>All {{.Title}}</h1>
- {{partial "page-list.html" .Pages.ByLastmod.Reverse }}
+ {{partial "page-list.html" .Paginator.Pages.ByLastmod.Reverse }}
+ {{ template "_internal/pagination.html" .}}
</article>
{{partial "contact.html" .}}
</div>
--
Gitblit v1.10.0