From b0e15e0cbc445e12e3aabfe90ee2fc6bf2c33782 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 02 May 2022 16:19:26 +0000
Subject: [PATCH] Merge pull request #118 from aidenybai/add-router
---
layouts/_default/section.html | 18 +++---------------
1 files changed, 3 insertions(+), 15 deletions(-)
diff --git a/layouts/_default/section.html b/layouts/_default/section.html
index d6e24b4..1a4aae0 100644
--- a/layouts/_default/section.html
+++ b/layouts/_default/section.html
@@ -14,24 +14,12 @@
</header>
<article>
<h1>All {{.Title}}</h1>
- <ul class="section-ul">
- {{- range .Pages -}}
- <li class="section-li">
- <div class="section">
- <div class="desc">
- <h3><a href="{{ .Permalink }}">{{- .Title -}}</a></h3>
- <p>{{- .Summary -}}{{if .Truncated}}...{{end}}</p>
- </div>
- <p class="meta">
- {{ .ReadingTime }} minute read
- </p>
- </div>
- </li>
- {{- end -}}
- </ul>
+ {{partial "page-list.html" .Paginator.Pages.ByLastmod.Reverse }}
+ {{ template "_internal/pagination.html" .}}
</article>
{{partial "contact.html" .}}
</div>
+{{partial "popover.html" .}}
</body>
</html>
--
Gitblit v1.10.0