Duncan McDougall | Web Developer · Feb 6, 2020
Create a Sitemap.xml with Eleventy
0Sign in to vote or save
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
Sitemaps are an underrated tool for helping search engines crawl into every corner of your website. Fortunately building an XML sitemap in Eleventy (11ty) like this one is super quick and easy. Demo on GitHub Start by creating sitemap.njk in your source directory. --- permalink: /sitemap.xml eleventyExcludeFromCollections: true --- <?xml version="1.0" encoding="utf-8"?> < urlset xmlns = "…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.