Skip to content
Snippets Groups Projects
Unverified Commit 574d8778 authored by Sébastien Gaya's avatar Sébastien Gaya Committed by GitHub
Browse files

Exclude PagedJS pages from Pagefind (#938)

parent b1fc44e2
No related branches found
Tags v7.2.22
No related merge requests found
......@@ -56,7 +56,7 @@ if (command === "watch") {
if (command === "dev") {
execute("hugo");
execute("npx pagefind --site 'public' --output-subdir '../static/pagefind' --exclude-selectors '" + pagefindExclude + "'");
execute("npx pagefind --site 'public' --output-subdir '../static/pagefind' --glob '**/index.{html}' --exclude-selectors '" + pagefindExclude + "'");
execute("hugo server");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment