Sitemap for Jekyll
Sitemap let’s search engine index your website and fetch url of your website to display it in the appropriate search result that they are going to be provide to their users for a specific search term, without a sitemap a website would not be indexed correctly and not all links to the website will be available in search results, this might become a reason why the website is viewed/visited in a very small number and has only some links, pages, posts are viewed by a visitor, Most Jekyll users prefer plugins to build their Sitemap and some plugins might take a good amount of system resource which might increase the time it takes to build your website source, Here is how to create a
sitemap.xml file using simple Liquid for templating engine the default Jekyll templating language.
sitemap.xml in your jekyll based website folder.
Now add this to your
sitemap.xml that we have just created.
Now you can build your website.
See you website in action.
Now we have a
sitemap.xml for our website that can be submitted to the prefered search engine webmaster.
If you have any problem feel free to leave a comment below.