summaryrefslogtreecommitdiffstats
path: root/apps/blog/templates/feed.scm
diff options
context:
space:
mode:
authorAndreas Widen <andreas@harmonicflow.org>2023-11-26 16:40:12 +0100
committerAndreas Widen <andreas@harmonicflow.org>2023-11-26 16:40:12 +0100
commit0df690cb4b5d7b8040be6a87d832e652d79b68a8 (patch)
tree6124b238ea8493cb33915ddc3996d52cbb2b8a6c /apps/blog/templates/feed.scm
parent1b2b7c3eb939724696894f31ff27db97b0cac84c (diff)
downloadhf-web-0df690cb4b5d7b8040be6a87d832e652d79b68a8.tar.xz
hf-web-0df690cb4b5d7b8040be6a87d832e652d79b68a8.zip
blog: Fix link in sidebar tag and atom feed.
Signed-off-by: Andreas Widen <andreas@harmonicflow.org>
Diffstat (limited to 'apps/blog/templates/feed.scm')
-rw-r--r--apps/blog/templates/feed.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/blog/templates/feed.scm b/apps/blog/templates/feed.scm
index bfa1cc4..b11f026 100644
--- a/apps/blog/templates/feed.scm
+++ b/apps/blog/templates/feed.scm
@@ -36,7 +36,7 @@
,@(map
(lambda (post)
`(entry
- (id ,(url-path-join domain (post-url-path post) ""))
+ (id ,(url-path-join domain (post-url-path post)))
(title ,(post-ref post 'title))
(author (name ,(post-ref post 'author)))
(published ,(date->string (post-date post) "~4"))
@@ -44,8 +44,7 @@
;(rights (@ (type "text")) ,(post-copyright post))
(link (@ (rel "alternate")
(href ,(url-path-join domain
- (post-url-path post)
- ""))))
+ (post-url-path post)))))
,@(map
(lambda (tag)
`(category (@ (term ,tag))))