From 25a4d3b6e17c2a5f6a935446ea97d06a323f71f6 Mon Sep 17 00:00:00 2001
From: rphla <101242699+rphla@users.noreply.github.com>
Date: Tue, 05 Jul 2022 22:39:29 +0000
Subject: [PATCH] Add GitHub "edit" button (#157)
---
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