Buy me a Coffee


Sitemap for Wintersmith

1 min read

Sitemap helps Search Engine index your website. It give the search engine a list of all the links available.

If you don’t have a sitemap your website might not be indexed correctly and only some links will be shown in search result. Wintersmith is a really good static site generator. I have written a template for Wintersmith that generates the <code class="highlighter-rouge">sitemap.xml file so search engines can index your website. All you need to do is to clone this github repo and copy the <code class="highlighter-rouge">sitemap.json from the <code class="highlighter-rouge">contents directory and places it into your website source <code class="highlighter-rouge">contents directory. Next copy the <code class="highlighter-rouge">sitemap.jade from <code class="highlighter-rouge">templates directory and place it in your website source <code class="highlighter-rouge">templates directory. This will automatically generate the sitemap required for your website.