From b9bb99e5f60700daac3d55a79615643ed20fff3d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 26 Jan 2020 20:41:45 -0300 Subject: Use feed.atom extension so nginx uses the right Content-Type --- hakyll/Main.hs | 2 +- site/templates/default.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hakyll/Main.hs b/hakyll/Main.hs index c3765db..f2ed24e 100644 --- a/hakyll/Main.hs +++ b/hakyll/Main.hs @@ -76,7 +76,7 @@ main = hakyll $ do >>= loadAndApplyTemplate "templates/default.html" indexCtx >>= relativizeUrls - create ["atom.xml", "feed.xml"] $ do + create ["atom.xml", "feed.xml", "feed.atom"] $ do route idRoute compile $ do loadAllSnapshots "posts/*" "content" diff --git a/site/templates/default.html b/site/templates/default.html index 2cbeb05..2fdf64b 100644 --- a/site/templates/default.html +++ b/site/templates/default.html @@ -6,7 +6,7 @@ $title$ - EuAndreh's blog - +
@@ -16,7 +16,7 @@ -- cgit v1.2.3