diff options
| author | Eltrac <hi@guhub.cn> | 2025-03-27 13:10:06 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-03-27 13:10:06 +0800 |
| commit | 83f509dd79c381a8bb1254a5de14568c61bb92e2 (patch) | |
| tree | edf57e3b77b0ae2933de06dabf0167c0621f78b8 /layouts/_default | |
| parent | 6576dc46469cdf1fb25cedf2699fe4ba7002a5ef (diff) | |
feat: add library section
Diffstat (limited to 'layouts/_default')
| -rw-r--r-- | layouts/_default/single.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 13c56ada..f22f8d6b 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -57,7 +57,9 @@ {{ end }} </div> - {{ partial "components/comment.html" . }} + {{ if in .Site.Params.mainSections .Type }} + {{ partial "components/comment.html" . }} + {{ end }} <script src="/js/tocbot.min.js"></script> <script> |
