From 364aee36fc8891c48ab2bd20c396ce321cd7a0a6 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 05 May 2022 05:03:09 +0000
Subject: [PATCH] fix: merge conf

---
 layouts/_default/section.html |   17 ++---------------
 1 files changed, 2 insertions(+), 15 deletions(-)

diff --git a/layouts/_default/section.html b/layouts/_default/section.html
index 8845fc5..abdf0b0 100644
--- a/layouts/_default/section.html
+++ b/layouts/_default/section.html
@@ -14,21 +14,8 @@
     </header>
     <article>
         <h1>All {{.Title}}</h1>
-        <ul class="section-ul">
-            {{- range .Pages.ByLastmod -}}
-            <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, Last updated {{ .Lastmod.Format "January 2, 2006" }}
-                    </p>
-                </div>
-            </li>
-            {{- end -}}
-        </ul>
+        {{partial "page-list.html" .Paginator.Pages.ByLastmod.Reverse }}
+        {{ template "_internal/pagination.html" .}}
     </article>
     {{partial "contact.html" .}}
 </div>

--
Gitblit v1.10.0