Add sitemap.xml

This commit is contained in:
Mathias Bynens committed 2018-09-24 16:23:31 -04:00
1 parent 4a517aecc1
commit 096ff9f3de
5 files changed
+26 -2

No files matched your search

+2 -1
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>
+2 -1
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 }}