Fix broken feed links on blog
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 1m22s

This commit is contained in:
Lewis Dale 2024-09-26 20:48:19 +01:00
parent 82bb1cb4a1
commit fdece234f3
2 changed files with 2 additions and 3 deletions

View File

@ -3,7 +3,7 @@
<aside class="inverse text-center">
<p class="mx-auto">
Subscribe via <a href="{{feed.rss}}">RSS</a>, <a href="{{feed.atom}}">Atom</a>, or <a href="{{feed.json}}">JSON</a>.
Subscribe via <a href="{{feeds.rss}}">RSS</a>, <a href="{{feeds.atom}}">Atom</a>, or <a href="{{feeds.json}}">JSON</a>.
</p>
</aside>

View File

@ -9,7 +9,7 @@
},
"eleventyComputed": {
"permalink": "/post/tag/{{ tag }}/",
"feed": {
"feeds": {
"rss": "{{ page.url }}rss.xml",
"atom": "{{ page.url }}atom.xml",
"json": "{{ page.url }}feed.json"
@ -23,6 +23,5 @@
{% extends "components/blog.njk" %}
{% set posts = collections.tagPosts[tag] %}
{% set title = "Posts tagged with “" ~ tag ~ "”" %}
{% set feeds = feed %}
{{ content | safe }}