From daa8d53bd52443eee70342b9ff785fddf8eabc5e Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Sun, 9 Aug 2020 23:03:19 -0400 Subject: [PATCH] Fix RSS feed generation --- src/blog/feed.xml.pp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/blog/feed.xml.pp b/src/blog/feed.xml.pp index 96f0a36..615fab3 100644 --- a/src/blog/feed.xml.pp +++ b/src/blog/feed.xml.pp @@ -9,10 +9,7 @@ ◊(define here-path (select-from-metas 'here-path metas)) -◊(define ptree (get-pagetree (build-path - (path-only (string->path here-path)) - 'up - "index.ptree"))) +◊(define ptree (get-pagetree (simplify-path (build-path (path-only here-path) 'up "index.ptree")))) ◊(current-pagetree ptree)