Move from atom.xml to feed.xml for tech agnostic-ish filename.

This commit is contained in:
Zach Leatherman 2018-01-25 21:02:35 -06:00
parent 1cde4b19bc
commit c81bebd872
3 changed files with 6 additions and 5 deletions

View File

@ -3,8 +3,9 @@
"url": "https://myurl.com/",
"feed": {
"subtitle": "I am writing about my experiences as a naval navel-gazer.",
"path": "feed/atom.xml",
"url": "https://myurl.com/feed/atom.xml",
"filename": "feed.xml",
"path": "feed/feed.xml",
"url": "https://myurl.com/feed/feed.xml",
"id": "https://myurl.com/"
},
"author": {

View File

@ -1,5 +1,5 @@
---
permalink: feed/atom.xml
permalink: feed/feed.xml
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

View File

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