summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-10-28 17:10:10 +0200
committerLudovic Courtès <ludo@gnu.org>2016-10-28 17:10:10 +0200
commit2868212bb4fb233212d2f68bc13bd1fdb5b7eaaf (patch)
tree30def75e3c3bff207e7b65769757722b4e16ceff
parent42162fc925ee141b56dcbc503bc98a4cd1d1cecb (diff)
downloadguix-artwork-2868212bb4fb233212d2f68bc13bd1fdb5b7eaaf.tar
guix-artwork-2868212bb4fb233212d2f68bc13bd1fdb5b7eaaf.tar.gz
website: Use absolute URLs to the articles in the Atom feed.
* website/haunt.scm: Pass an absolute URL as the #:blog-prefix for 'atom-feed'.
-rw-r--r--website/haunt.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/website/haunt.scm b/website/haunt.scm
index 761d488..1df877c 100644
--- a/website/haunt.scm
+++ b/website/haunt.scm
@@ -86,6 +86,10 @@
%web-pages)
,(blog #:theme (parameterized-theme %news-haunt-theme)
#:prefix "news")
+
+ ;; Apparently the <link> tags of Atom entries must be absolute URLs,
+ ;; hence this #:blog-prefix.
,(atom-feed #:file-name "news/feed.xml"
- #:blog-prefix "news")
+ #:blog-prefix "https://www.gnu.org/software/guix/news")
+
,(static-directory "static")))