Pagefind Exclude: data-pagefind-body vs ignore
Learn how to keep Pagefind from indexing pages or sections: choose data-pagefind-body, data-pagefind-ignore, or exclude selectors without losing posts.
Page 13 / 17
Posts 97–104 of 134
Learn how to keep Pagefind from indexing pages or sections: choose data-pagefind-body, data-pagefind-ignore, or exclude selectors without losing posts.
If import.meta.env.VITE_API_URL is undefined after deployment, check the VITE_ prefix and build mode, then verify a test value in the bundled assets.
Fix Astro assets and internal links that break under a project subpath by aligning site, base, BASE_URL, generated files, and host checks.
When Astro build.format is file, paginate() can emit extensionless next and previous URLs. Use its format callback and verify every generated page.
A Cloudflare Workers 413 can come from the edge, zone upload setting, or origin. Trace the rejecting layer, check plan limits, and move large uploads to R2.
Use GitHub Copilot per-model token details to explain AI credits, compare input with cached context, and find which workflows drive spend.
Keep scrollIntoView() and anchor links from hiding headings under a fixed header with scroll-margin-top, scroll-padding-top, and a mobile-safe fallback.
Fix Astro static routes that return 404 behind Caddy by matching build.format, generated index files, trailing slashes, and the server root.