From 26303bb5f16c4decd86cab30fdb9b82f41fdfc4c Mon Sep 17 00:00:00 2001 From: Zach Leatherman Date: Wed, 24 Apr 2024 17:26:14 -0500 Subject: [PATCH] =?UTF-8?q?Move=20feed=20file=20to=20make=20it=20more=20ob?= =?UTF-8?q?vious=20it=E2=80=99s=20an=20Atom=20feed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _includes/layouts/base.njk | 2 +- content/feed/{feed.njk => atom.njk} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename content/feed/{feed.njk => atom.njk} (92%) diff --git a/_includes/layouts/base.njk b/_includes/layouts/base.njk index 11e085e..d8eee56 100644 --- a/_includes/layouts/base.njk +++ b/_includes/layouts/base.njk @@ -7,7 +7,7 @@ {#- Atom and JSON feeds included by default #} - + {#- Uncomment this if you’d like folks to know that you used Eleventy to build your site! #} diff --git a/content/feed/feed.njk b/content/feed/atom.njk similarity index 92% rename from content/feed/feed.njk rename to content/feed/atom.njk index f3539e7..dfa034b 100755 --- a/content/feed/feed.njk +++ b/content/feed/atom.njk @@ -18,7 +18,7 @@ eleventyNavigation: {{ metadata.author.email }} {%- for post in collections.posts | reverse %} - {% set absolutePostUrl %}{{ post.url | htmlBaseUrl(metadata.url) }}{% endset %} + {%- set absolutePostUrl %}{{ post.url | htmlBaseUrl(metadata.url) }}{% endset %} {{ post.data.title }}