[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: website: Use absolute URLs to the articles in the Atom feed.
From: |
Ludovic Courtès |
Subject: |
01/01: website: Use absolute URLs to the articles in the Atom feed. |
Date: |
Fri, 28 Oct 2016 15:10:44 +0000 (UTC) |
civodul pushed a commit to branch master
in repository guix-artwork.
commit 2868212bb4fb233212d2f68bc13bd1fdb5b7eaaf
Author: Ludovic Courtès <address@hidden>
Date: Fri Oct 28 17:10:10 2016 +0200
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'.
---
website/haunt.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
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")))