Entry 3: Building a Sitemap

Setting up XML sitemap support with Jekyll is simple via the jekyll sitemap:

<url>
   <loc>http://codingthewheel.com/wc/stackoverflow-architecture-update</loc>
   <lastmod>2015-01-03T10:00:00-05:00</lastmod>
   <priority>0.8</priority>
</url>
<url>
   <loc>http://codingthewheel.com/projects/reboot/our-htaccess</loc>
   <lastmod>2014-12-05T00:00:00-05:00</lastmod>
   <priority>0.8</priority>
</url>

Then I cracked open a ‘robots.txt’ file:

User-agent: *
Disallow:
SITEMAP: http://codingthewheel.com/sitemap.xml