From 44e1351fc71eaef7aefdc168dc9bc15b20d4bda4 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Thu, 21 Jul 2011 15:45:09 -0400 Subject: 1. Added condition to full_url filter to allow it to be used as a root_url appending filter for remapping root "/" urls when octopress is deployed to a subdirectory. Updated _includes/article and _layouts/page to use the filter 2. Added documentation for the include_code plugin --- .themes/classic/source/_includes/article.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.themes/classic/source/_includes/article.html') diff --git a/.themes/classic/source/_includes/article.html b/.themes/classic/source/_includes/article.html index 69bb5008..a25691f8 100644 --- a/.themes/classic/source/_includes/article.html +++ b/.themes/classic/source/_includes/article.html @@ -11,10 +11,10 @@ {% endunless %} {% if index %} -
{{ content | exerpt | smart_quotes }}
+
{{ content | full_urls: site.root | exerpt | smart_quotes }}
{% else %} -
{{ content | smart_quotes }}
+
{{ content | full_urls: site.root | smart_quotes }}
{% endif %} -- cgit v1.2.1