alextim / astro-lib

Makes it easy to add robots.txt, sitemap and web app manifest during build to your Astro app.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"createLinkInHead: false" still adding sitemap link to head of all html pages.

saurabhck12 opened this issue · comments

I'm generating a sitemap with advanced config. I made createLinkInHead: false still it is adding sitemap-index.xml to head of every page. What would be the fix?

11:04:32 [build] Waiting for the astro-sitemap integration... astro-sitemap: Sitemap links are inserted into <head> section of generated pages (17768 of 17768).

Thanks

Thanks for the issue.
The integration worked properly with old Astro 1.x. I'll investigate this problem tomorrow.

Hello!
v0.5.0 just released.
You may play online the advanced example with the createLinkInHead option set to false.
Hope it solved.