From 8b2a82a96a2c7c3f40fd5648c756db3408947fdb Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 14 Jul 2022 05:27:13 +0000
Subject: [PATCH] fix: change / to use base url
---
layouts/partials/page-list.html | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/layouts/partials/page-list.html b/layouts/partials/page-list.html
index bdfcd59..e51c5dd 100644
--- a/layouts/partials/page-list.html
+++ b/layouts/partials/page-list.html
@@ -4,12 +4,18 @@
<div class="section">
<div class="desc">
<h3><a href="{{ .Permalink }}">{{- .Title -}}</a></h3>
+ <ul class="tags">
+ {{ range (.GetTerms "tags") }}
+ <li><a href="{{ .Permalink }}">{{ .LinkTitle | title}}</a></li>
+ {{ end }}
+ </ul>
<p>{{- .Summary -}}{{if .Truncated}}...{{end}}</p>
</div>
<p class="meta">
{{ .ReadingTime }} minute read. Last updated {{if ne .Date .Lastmod}}{{ .Lastmod.Format "January 2, 2006" }}{{else}}Unknown{{end}}
</p>
+
</div>
</li>
{{- end -}}
-</ul>
\ No newline at end of file
+</ul>
--
Gitblit v1.10.0