summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-02-06 11:02:31 +0800
committerEltrac <hi@guhub.cn>2025-02-06 11:02:31 +0800
commit8db98661dc41df6afd02b0448c3589dad7e816d7 (patch)
treedd194edd7128f2c16d6fa65c0b0785fda6173c75 /layouts/_default
parent58198d0c0629c2da41ede541c00308b7eaad2517 (diff)
feat: add description to term page
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/term.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/_default/term.html b/layouts/_default/term.html
index 82787dac..cc09f547 100644
--- a/layouts/_default/term.html
+++ b/layouts/_default/term.html
@@ -2,6 +2,10 @@
<article class="posts termlist-page">
{{ partial "components/breadcrumbs.html" . }}
+ {{ with .Params.description }}
+ <p class="taxonomy-description markdown-body">{{ . | markdownify }}</p>
+ {{ end }}
+
<div id="term-list" class="posts-list">
<ul>
{{ range .Pages }}