Skip to content

Commit ac0279d

Browse files
authored
Exclude header and footer from search (#638)
1 parent 59ee005 commit ac0279d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

theme/apache/templates/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
<body{% if page.bodytag %} {{ page.bodytag }}{% endif %} >
9595

9696
<!-- Navigation -->
97-
<header id="top-header">
97+
<header id="top-header" data-pagefind-ignore="all">
9898
<div class="header-banner">
9999
<div class="inner text-center">
100100
<p>Introducing The ASF’s New Logo <a href="https://news.apache.org/foundation/entry/introducing-the-asfs-new-logo" target="_blank">Read Now</a></p>
@@ -271,7 +271,7 @@ <h2 class="text-white">Subscribe to ASF Plus One, Our Monthly Newsletter</h2>
271271
</div>
272272
<!-- Footer -->
273273
<!-- Bump -->
274-
<footer class="bg-primary">
274+
<footer class="bg-primary" data-pagefind-ignore="all">
275275
<div class="inner py-xl">
276276
<div class="flex gap-large mb-large flex-column-800">
277277
<div class="flex-1 flex flex-column gap-medium">

0 commit comments

Comments
 (0)