summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2023-11-20 15:11:57 -0600
committerToby Vincent <tobyv@tobyvin.dev>2023-11-20 15:11:57 -0600
commit01e90bcf11f690e9883540f003b1d03aecb03cbb (patch)
treeceb24c78002df3deca19e8fe3186d54d7df150ff
parent85159ba6f9e365859bc867a7be16635ea3b86948 (diff)
fix: fix feed url to serve atom.xml
-rw-r--r--templates/index.html10
-rw-r--r--templates/shortcodes/meta.html1
2 files changed, 7 insertions, 4 deletions
diff --git a/templates/index.html b/templates/index.html
index 1d0b954..b0e7e69 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -24,10 +24,12 @@
{% endblock title %}
<meta name="description" content="{{ config.description }}" />
<meta name="keywords" content="blog" />
- <link rel="alternate"
- type="application/rss+xml"
- title="RSS"
- href="{{ get_url(path="rss.xml", trailing_slash=false) }}" />
+ {% block feed %}
+ <link rel="alternate"
+ type="application/atom+xml"
+ title="Atom Feed"
+ href="{{ get_url(path="atom.xml", trailing_slash=false) }}" />
+ {% endblock feed %}
<link rel="stylesheet" type="text/css" href="/style.css" />
</head>
<body>
diff --git a/templates/shortcodes/meta.html b/templates/shortcodes/meta.html
index 3d8e7d5..1dcb70a 100644
--- a/templates/shortcodes/meta.html
+++ b/templates/shortcodes/meta.html
@@ -1,3 +1,4 @@
+{# meta links #}
{% import "macros.html" as macros %}
<address>
<dl>