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 | 9bd07c106688f331ef79e2947b1c3605f7cf4414 (patch) | |
| tree | 59554d9381f6f48b036ad8a6aa4ba1d54c143e0b /layouts | |
| parent | dbcf6c115870aeca47a7ef067f0f0660c2573a5c (diff) | |
feat: display description in term page
Former-commit-id: 642284c67ea42992ab878bc49fac78679a8bb12a
Diffstat (limited to 'layouts')
| -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> |
