aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hakyll/Main.hs2
-rw-r--r--site/templates/default.html4
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 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>$title$ - EuAndreh's blog</title>
<link rel="stylesheet" href="/css/styles.css" />
- <link rel="alternate" type="application/atom+xml" href="/feed.xml" title="EuAndreh's Feed" />
+ <link rel="alternate" type="application/atom+xml" href="/feed.atom" title="EuAndreh's Feed" />
</head>
<body>
<header>
@@ -16,7 +16,7 @@
</div>
<div id="nav-right">
<a href="/about.html">About</a>
- <a href="/feed.xml">
+ <a href="/feed.atom">
<img class="simple-icon" src="/images/atom.svg" alt="Blog feed" />
</a>
</div>