summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-02-13 22:10:42 +0100
committermetamuffin <metamuffin@disroot.org>2023-02-13 22:10:42 +0100
commit143ff63acd01300b23178a2a4c08ece78cc83bd2 (patch)
tree9f3993adf1a05e0311817ab68a87d4bd42890656
parent9732ed5ae9ae7e5bc26f8302b436d67d103e740b (diff)
downloadmetamuffin-website-143ff63acd01300b23178a2a4c08ece78cc83bd2.tar
metamuffin-website-143ff63acd01300b23178a2a4c08ece78cc83bd2.tar.bz2
metamuffin-website-143ff63acd01300b23178a2a4c08ece78cc83bd2.tar.zst
atom feed
-rw-r--r--src/blog/atom.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blog/atom.rs b/src/blog/atom.rs
index e6b931c..d18712b 100644
--- a/src/blog/atom.rs
+++ b/src/blog/atom.rs
@@ -48,7 +48,7 @@ pub async fn r_blog_atom() -> MyResult<String> {
Ok(format!(
r#"<?xml version="1.0" encoding="utf-8"?>
- <feed xmlns="http://www.w3.org/2005/Atom">
+<feed xmlns="http://www.w3.org/2005/Atom">
<title>metamuffin's blog</title>
<subtitle>where they post pointless stuff</subtitle>
<link href="{feed_url}" rel="self" />
@@ -60,7 +60,7 @@ pub async fn r_blog_atom() -> MyResult<String> {
<email>metamuffin@disroot.org</email>
</author>
{}
- </feed>
+</feed>
"#,
entries.join("\n")
))