From 0194bbced9de7d51b466c19e28b384e8dc296281 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Mon, 18 Jan 2021 22:17:03 +0800 Subject: [PATCH] Fix baseUrl on rss-feed (#259) --- feed.xml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/feed.xml b/feed.xml index c329f8a0eee..04c4dfc2500 100644 --- a/feed.xml +++ b/feed.xml @@ -9,23 +9,24 @@ layout: compress {% capture source %} - {{ site.url }} + {{ "/" | absolute_url }} {{ site.title }} {{ site.description }} {{ site.time | date_to_xmlschema }} {{ site.author }} - {{ site.url }} + {{ "/" | absolute_url }} - - + + Jekyll © {{ 'now' | date: '%Y' }} {{ site.author }} {{ site.baseurl }}/assets/img/favicons/favicon.ico {{ site.baseurl }}/assets/img/favicons/favicon-96x96.png {% for post in site.posts limit: 5 %} - {% assign post_absolute_url = site.url | append: post.url %} + {% assign post_absolute_url = post.url | absolute_url %} {{ post.title }}