summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-03-31 20:38:56 +0800
committerEltrac <hi@guhub.cn>2025-03-31 20:38:56 +0800
commit58800812efc73bbf9bb94bd1c5268dbd00d02284 (patch)
tree595b11f5e31f26db34d69fe649f6604a3d84d820
parentbb97d9d473467da594d859a5f55ad63d2b7ac36e (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
-rw-r--r--layouts/_default/section.html1
-rw-r--r--layouts/_default/taxonomy.html3
-rw-r--r--layouts/cards/section.html1
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">