From d3e20b8b94c9229e94fccbe54c867efde6847c6e Mon Sep 17 00:00:00 2001
From: Geoffrey Garrett <g.h.garrett13@gmail.com>
Date: Fri, 01 Jul 2022 18:03:52 +0000
Subject: [PATCH] Added optional rendering of code block titles (#148)
---
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