diff options
| author | Eltrac <hi@guhub.cn> | 2025-02-06 11:02:31 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-02-06 11:02:31 +0800 |
| commit | 8db98661dc41df6afd02b0448c3589dad7e816d7 (patch) | |
| tree | dd194edd7128f2c16d6fa65c0b0785fda6173c75 /layouts | |
| parent | 58198d0c0629c2da41ede541c00308b7eaad2517 (diff) | |
feat: add description to term page
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/_default/term.html | 4 |
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 }} |
