diff options
| author | Eltrac <hi@guhub.cn> | 2025-03-31 20:38:56 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-03-31 20:38:56 +0800 |
| commit | 58800812efc73bbf9bb94bd1c5268dbd00d02284 (patch) | |
| tree | 595b11f5e31f26db34d69fe649f6604a3d84d820 /layouts | |
| parent | bb97d9d473467da594d859a5f55ad63d2b7ac36e (diff) | |
remove: pagefind on pages
now that we have global search that's available anywhere, there's no need for having pagefind on page content
Former-commit-id: 49fd6917ca0b801772a8d14a240d41f42cfcd049
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/_default/section.html | 1 | ||||
| -rw-r--r-- | layouts/_default/taxonomy.html | 3 | ||||
| -rw-r--r-- | layouts/cards/section.html | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/layouts/_default/section.html b/layouts/_default/section.html index 8a458078..55de607c 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -4,7 +4,6 @@ <div id="posts-archive" class="posts-list"> {{ partial "components/heatmap.html" . }} - {{ partial "components/pagefind.html" . }} <!-- Post Archive List --> {{ range (where site.RegularPages "Type" "in" site.Params.mainSections).GroupByDate "2006" -}} diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html index b192c63c..570d920d 100644 --- a/layouts/_default/taxonomy.html +++ b/layouts/_default/taxonomy.html @@ -2,9 +2,6 @@ <article class="taxonomy"> {{ partial "header.html" . }} - {{ partial "components/pagefind.html" . }} - - <!-- Display Tags --> <section class="taxonomy taxonomy-tags"> {{ range sort .Site.Taxonomies.tags "Count" "desc" }} diff --git a/layouts/cards/section.html b/layouts/cards/section.html index 011985d7..75a11a1b 100644 --- a/layouts/cards/section.html +++ b/layouts/cards/section.html @@ -2,7 +2,6 @@ <article class="card-list"> {{ partial "header.html" . }} <div id="cards-section"> - {{ partial "components/pagefind.html" . }} {{- range .Pages }} <div class="card"> <div class="card-header"> |
