Skip to content

Commit

Permalink
Adding data-pagefind-body attribute to main pages to exclude Design S…
Browse files Browse the repository at this point in the history
…ystem from indexing.
  • Loading branch information
MatthewNichols committed Feb 23, 2024
1 parent e32ee59 commit 4b6b143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/_includes/base-layout.njk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
{% include "parts/head.njk" %}

<body class="{{ pageStyleId }} {{ layoutId }}">
<body class="{{ pageStyleId }} {{ layoutId }}" data-pagefind-body>
{% include "parts/header.njk" %}
{% renderlayoutblock "abovePageWrap" %}{% endrenderlayoutblock %}

Expand Down

0 comments on commit 4b6b143

Please sign in to comment.