summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--haunt/builder/atom.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/haunt/builder/atom.scm b/haunt/builder/atom.scm
index 9abe33d..39c331a 100644
--- a/haunt/builder/atom.scm
+++ b/haunt/builder/atom.scm
@@ -79,7 +79,8 @@ MAX-ENTRIES: The maximum number of posts to render in the feed"
(title ,(site-title site))
(subtitle ,subtitle)
(updated ,(date->string* (current-date)))
- (link (@ (href ,(string-append "/" file-name))
+ (link (@ (href ,(string-append (site-domain site)
+ "/" file-name))
(rel "self")))
(link (@ (href ,(site-domain site))))
,@(map (cut post->atom-entry site <>