Fix broken feed links on blog
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 1m22s
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 1m22s
This commit is contained in:
parent
82bb1cb4a1
commit
fdece234f3
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<aside class="inverse text-center">
|
<aside class="inverse text-center">
|
||||||
<p class="mx-auto">
|
<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>
|
</p>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"eleventyComputed": {
|
"eleventyComputed": {
|
||||||
"permalink": "/post/tag/{{ tag }}/",
|
"permalink": "/post/tag/{{ tag }}/",
|
||||||
"feed": {
|
"feeds": {
|
||||||
"rss": "{{ page.url }}rss.xml",
|
"rss": "{{ page.url }}rss.xml",
|
||||||
"atom": "{{ page.url }}atom.xml",
|
"atom": "{{ page.url }}atom.xml",
|
||||||
"json": "{{ page.url }}feed.json"
|
"json": "{{ page.url }}feed.json"
|
||||||
@ -23,6 +23,5 @@
|
|||||||
{% extends "components/blog.njk" %}
|
{% extends "components/blog.njk" %}
|
||||||
{% set posts = collections.tagPosts[tag] %}
|
{% set posts = collections.tagPosts[tag] %}
|
||||||
{% set title = "Posts tagged with “" ~ tag ~ "”" %}
|
{% set title = "Posts tagged with “" ~ tag ~ "”" %}
|
||||||
{% set feeds = feed %}
|
|
||||||
|
|
||||||
{{ content | safe }}
|
{{ content | safe }}
|
||||||
|
Loading…
Reference in New Issue
Block a user