How to create a sitemap on Jekyll - Jekyll Tutorial 7
WebJeda
Read: http://blog.webjeda.com/jekyll-sitemap/ Support my channel: https://www.paypal.me/webjeda
[No CLI used] In tutorial 4 I have showed how to create a blog in Github Pages. Now in this video I will be showing how to make a sitemap inside the repository.
Final Sitemap: http://redgadget.github.io/emerald/sitemap.xml
A sitemap is a list of links of all your web pages. Sitemap will be in .xml format. A sitemap helps search engine bots to crawl through your website.
Sitemap will also have metadata such as date of a post, pages, last modified date and how often it was updated etc., It looks like your feed.xml file.
If your website doesn’t have any posts or pages, you may not need a sitemap. But for a blog with several posts, sitemap is necessary (if you want to rank better in search engines).
You can submit your sitemap to major search engines like Google, Bing, Yahoo etc., so that their respective bots crawl through your site and index them. Only after indexing, your link appears in search results.
In wordpress, creating a sitemap using a plugin is really easy. What if I tell you that creating sitemap in Jekyll is easier! Jekyll blogs will not have sitemap by default. You can always generate them using a small snippet of code. Add the below code to your _config.yml file. This will create a sitemap for you with the link /sitemap.xml.
======code======
gems: - jekyll-sitemap
======code======
and commit once you add this piece of code.
Refer to the playlist for complete tutorial on Github Pages and hosting websites and blogs on it. https://www.youtube.com/playlist?list=PLm_Qt4aKpfKijgP0rDH7FSJOlS9IBGbT1
*No CLI or Terminal *Only html coding
Blog: http://redgadgets.com Facebook page: https://www.facebook.com/webjeda/ My Website: http://webjeda.com Web Development blog: http://blog.webjeda.com
Note: These videos are more focused on web designers and developers.
#jekyll #githubpages #tutorial ... https://www.youtube.com/watch?v=kiBtQClK-XQ
15275246 Bytes