Move feed file to make it more obvious it’s an Atom feed
This commit is contained in:
parent
56d15576a2
commit
26303bb5f1
@ -7,7 +7,7 @@
|
||||
<meta name="description" content="{{ description or metadata.description }}">
|
||||
|
||||
{#- Atom and JSON feeds included by default #}
|
||||
<link rel="alternate" href="feed/feed.njk" type="application/atom+xml" title="{{ metadata.title }}">
|
||||
<link rel="alternate" href="feed/atom.njk" type="application/atom+xml" title="{{ metadata.title }}">
|
||||
<link rel="alternate" href="feed/json.njk" type="application/json" title="{{ metadata.title }}">
|
||||
|
||||
{#- Uncomment this if you’d like folks to know that you used Eleventy to build your site! #}
|
||||
|
@ -18,7 +18,7 @@ eleventyNavigation:
|
||||
<email>{{ metadata.author.email }}</email>
|
||||
</author>
|
||||
{%- for post in collections.posts | reverse %}
|
||||
{% set absolutePostUrl %}{{ post.url | htmlBaseUrl(metadata.url) }}{% endset %}
|
||||
{%- set absolutePostUrl %}{{ post.url | htmlBaseUrl(metadata.url) }}{% endset %}
|
||||
<entry>
|
||||
<title>{{ post.data.title }}</title>
|
||||
<link href="{{ absolutePostUrl }}"/>
|
Loading…
Reference in New Issue
Block a user