From 712dab5c8cd8933d9cdb63d4c833940c461a09da Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 31 Jan 2023 19:00:28 +0000
Subject: [PATCH] docs: remove broken links from showcase
---
layouts/partials/page-list.html | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/layouts/partials/page-list.html b/layouts/partials/page-list.html
index bdfcd59..1d2a477 100644
--- a/layouts/partials/page-list.html
+++ b/layouts/partials/page-list.html
@@ -2,14 +2,19 @@
{{- range . -}}
<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 {{if ne .Date .Lastmod}}{{ .Lastmod.Format "January 2, 2006" }}{{else}}Unknown{{end}}
+ {{partial "date-fmt.html" .}}
</p>
+ <div class="desc">
+ <h3><a href="{{ .Permalink }}" class="internal-link" data-src="{{ .RelPermalink }}">{{- .Title -}}</a></h3>
+ </div>
+ <div class="spacer"></div>
+ <ul class="tags">
+ {{ range (.GetTerms "tags") }}
+ <li><a href="{{ .Permalink }}">{{ .LinkTitle | title}}</a></li>
+ {{ end }}
+ </ul>
</div>
</li>
{{- end -}}
-</ul>
\ No newline at end of file
+</ul>
--
Gitblit v1.10.0