diff --git a/src/main.rs b/src/main.rs index 03fb719..22d026d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -405,6 +405,7 @@ fn header(page_title: &str) -> Markup { meta name="viewport" content="width=device-width, initial-scale=1"; title { (page_title) } link rel="stylesheet" href="/assets/styles.css"; + link rel="alternate" type="application/rss+xml" title="Gabriel Simmer's Blog" href="/rss" { }; script async src="https://analytics.eu.umami.is/script.js" data-website-id="6cb8d5a5-703a-4b37-9e39-64c96a9a84c1" { }; } } @@ -441,7 +442,7 @@ async fn list_blog_posts() -> Markup { body { main { h1 { "Blog" } - + a href = "/rss" { "RSS" } ul { @for post in posts { (post);