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 | d982e354272f10d8f9f24a9697308afb6463b5ec (patch) | |
| tree | 88e7c0d9f0baaed9027630345fa1b7ff68323db9 /layouts/section.html | |
| parent | 9671684328170d17f4cc70243d1c7ed369ab7ede (diff) | |
refactor: search exclusion to use .pagefind-exclude class
Former-commit-id: e6b388b6529ae81697e7c6a07dd5f377f57d3f4a
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" -}} |
