diff --git a/_data/metadata.json b/_data/metadata.json index ebb2545..3d72dba 100644 --- a/_data/metadata.json +++ b/_data/metadata.json @@ -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": { diff --git a/feed/feed.njk b/feed/feed.njk index 7f7d372..2754226 100644 --- a/feed/feed.njk +++ b/feed/feed.njk @@ -1,5 +1,5 @@ --- -permalink: feed/atom.xml +permalink: feed/feed.xml --- diff --git a/feed/htaccess.njk b/feed/htaccess.njk index a91bb00..3318d60 100644 --- a/feed/htaccess.njk +++ b/feed/htaccess.njk @@ -1,5 +1,5 @@ --- permalink: feed/.htaccess --- -# For Apache, to show `atom.xml` when browsing to directory /feed/ (hide the file!) -DirectoryIndex atom.xml \ No newline at end of file +# For Apache, to show `{{ metadata.feed.filename }}` when browsing to directory /feed/ (hide the file!) +DirectoryIndex {{ metadata.feed.filename }} \ No newline at end of file