1
0
mirror of https://github.com/meineerde/holgerjust.de.git synced 2025-10-17 17:01:01 +00:00

Render absolute URL to sitemap in robots.txt

This commit is contained in:
Holger Just 2015-12-07 13:37:42 +01:00
parent 8eec9ab2b4
commit b7a99ea9c6

View File

@ -1,3 +1,3 @@
User-agent: *
Allow: /
Sitemap: <%= url_for 'sitemap.xml' %>
Sitemap: <%= URI.join(casper[:blog][:url], url_for('sitemap.xml')) %>