diff options
| author | Eltrac <hi@guhub.cn> | 2025-09-26 23:11:43 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-09-26 23:11:43 +0800 |
| commit | 642284c67ea42992ab878bc49fac78679a8bb12a (patch) | |
| tree | aaf57d68b92dfc1024178dca6c7f8b701d9603a1 | |
| parent | d670287d4a34e1139a2d8f615d53c3a2c4548949 (diff) | |
feat: display description in term page
| -rw-r--r-- | layouts/term.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/term.html b/layouts/term.html index f0d29bb4..4ce6cb99 100644 --- a/layouts/term.html +++ b/layouts/term.html @@ -4,6 +4,11 @@ {{ partial "home/home-nav" . }} {{ partial "term/term-header" . }} <section> + {{ with .Content }} + <div class="markdown-body text-size-lg md:text-size-xl"> + {{ . }}<hr/> + </div> + {{ end }} {{ partial "term/term-posts" . }} {{ partial "term/term-books" . }} </section> |
