diff options
| author | Eltrac <hi@guhub.cn> | 2025-05-16 16:05:36 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-05-16 16:05:36 +0800 |
| commit | 69e37eac76fd0127b5bc01754f6c0c8548dc097c (patch) | |
| tree | a977b8835d394cbd7146e4f43bea5af2223a6ed2 | |
| parent | ffd4f220124b193198229bb49c231386f9a8ff58 (diff) | |
feat: remove unnecessary elements in featured page
1. remove unwanted bottom margin of featured page description
2. remove unnecessary category link in featured page
Former-commit-id: b04fad6631ec6812a8525c009b36bef5d0c8424a
| -rw-r--r-- | layouts/_default/featured.html | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/layouts/_default/featured.html b/layouts/_default/featured.html index 5b093bae..5b921e05 100644 --- a/layouts/_default/featured.html +++ b/layouts/_default/featured.html @@ -3,7 +3,7 @@ {{ partial "header.html" . }} {{ partial "components/postnav.html" . }} - <div class="post-content markdown-content"> + <div class="markdown-content" style="line-height: 2"> {{ .Content }} </div> @@ -37,13 +37,6 @@ </a> </h2> </div> - {{ with .Params.categories }} - <div class="posts-item-category"> - <a href="/categories/{{ . }}" style="padding: 0.1rem 0.3rem;"> - {{ . }} - </a> - </div> - {{ end }} </header> </div> {{ end }} |
