diff options
| author | Eltrac <hi@guhub.cn> | 2025-07-19 20:38:48 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-07-19 20:38:48 +0800 |
| commit | e6b388b6529ae81697e7c6a07dd5f377f57d3f4a (patch) | |
| tree | 88e7c0d9f0baaed9027630345fa1b7ff68323db9 /layouts/section.html | |
| parent | 70050d2bab887d12451096fa38ef55d4a7597b95 (diff) | |
refactor: search exclusion to use .pagefind-exclude class
Diffstat (limited to 'layouts/section.html')
| -rw-r--r-- | layouts/section.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/section.html b/layouts/section.html index 8d5f6c9b..47ece146 100644 --- a/layouts/section.html +++ b/layouts/section.html @@ -1,7 +1,7 @@ {{ define "main" }} - <article class="posts"> + <article> {{ partial "header.html" . }} - <div id="posts-archive" class="posts-list"> + <div class="posts-list pagefind-exclude"> <!-- Post Archive List --> {{ $remainingMonthsToOpen := 3 }} {{ range (where site.RegularPages "Type" "eq" "posts").GroupByDate "2006" -}} |
