aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/_includes
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-21 15:45:09 -0400
committerBrandon Mathis <brandon@imathis.com>2011-07-21 16:14:23 -0400
commit44e1351fc71eaef7aefdc168dc9bc15b20d4bda4 (patch)
treeb357bb5f6618f0d346d8d97a84b1cff9823ae9c9 /.themes/classic/source/_includes
parent05e4b7951d976070675eb02a072ffb9f0b235dba (diff)
downloadmy_new_personal_website-44e1351fc71eaef7aefdc168dc9bc15b20d4bda4.tar.xz
my_new_personal_website-44e1351fc71eaef7aefdc168dc9bc15b20d4bda4.zip
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
Diffstat (limited to '.themes/classic/source/_includes')
-rw-r--r--.themes/classic/source/_includes/article.html4
1 files changed, 2 insertions, 2 deletions
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 @@
</header>
{% endunless %}
{% if index %}
- <div class="entry-content">{{ content | exerpt | smart_quotes }}</div>
+ <div class="entry-content">{{ content | full_urls: site.root | exerpt | smart_quotes }}</div>
<footer>
<a rel="full-article" href="{{ site.root }}{{ post.url }}">Read on &rarr;</a>
</footer>
{% else %}
-<div class="entry-content">{{ content | smart_quotes }}</div>
+<div class="entry-content">{{ content | full_urls: site.root | smart_quotes }}</div>
{% endif %}