Add sitemap.xml

This commit is contained in:
Mathias Bynens
2018-09-24 15:09:15 -04:00
parent 4a517aecc1
commit 096ff9f3de
5 changed files with 26 additions and 2 deletions

View File

@ -1,5 +1,6 @@
---
permalink: feed/feed.xml
excludeFromSitemap: true
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
@ -23,4 +24,4 @@ permalink: feed/feed.xml
<content type="html">{{ post.templateContent | htmlToAbsoluteUrls(absolutePostUrl) }}</content>
</entry>
{%- endfor %}
</feed>
</feed>

View File

@ -1,5 +1,6 @@
---
permalink: feed/.htaccess
excludeFromSitemap: true
---
# For Apache, to show `{{ metadata.feed.filename }}` when browsing to directory /feed/ (hide the file!)
DirectoryIndex {{ metadata.feed.filename }}
DirectoryIndex {{ metadata.feed.filename }}