From c71a4717ddc0db65fbdc3244f2bccf9b370de669 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Wed, 7 May 2014 00:09:12 -0400 Subject: [PATCH 1/2] Prepend url, too, in feed.xml. --- lib/site_template/feed.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/site_template/feed.xml b/lib/site_template/feed.xml index 252a0bd1..5d4d7402 100644 --- a/lib/site_template/feed.xml +++ b/lib/site_template/feed.xml @@ -6,15 +6,15 @@ layout: none {{ site.name | xml_escape }} {{ site.description | xml_escape }} - {{ site.baseurl }} - + {{ site.url }}{{ site.baseurl }} + {% for post in site.posts limit:10 %} {{ post.title | xml_escape }} {{ post.content | xml_escape }} {{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }} - {{ post.url | prepend: site.baseurl }} - {{ post.url | prepend: site.baseurl }} + {{ post.url | prepend: site.baseurl | prepend: site.url }} + {{ post.url | prepend: site.baseurl | prepend: site.url }} {% endfor %} From 216f1150cde45f829e9b99e942dfe30c505b2b6e Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Wed, 7 May 2014 00:31:53 -0400 Subject: [PATCH 2/2] The last of the site template prepending. --- lib/site_template/_includes/head.html | 2 +- lib/site_template/_includes/header.html | 2 +- lib/site_template/feed.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/site_template/_includes/head.html b/lib/site_template/_includes/head.html index d5475615..4d7400dd 100644 --- a/lib/site_template/_includes/head.html +++ b/lib/site_template/_includes/head.html @@ -4,7 +4,7 @@ {% if page.title %}{{ page.title }}{% else %}{{ site.name }}{% endif %} - + diff --git a/lib/site_template/_includes/header.html b/lib/site_template/_includes/header.html index f8045cbe..99dbec6a 100644 --- a/lib/site_template/_includes/header.html +++ b/lib/site_template/_includes/header.html @@ -2,7 +2,7 @@