aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/_includes/article.html
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-21 23:50:32 -0400
committerBrandon Mathis <brandon@imathis.com>2011-07-22 00:00:18 -0400
commit39d56bc98834b09fc6939fd27bde8848efbb251d (patch)
tree404e6d12464884a763949215bb66081c74cf56c9 /.themes/classic/source/_includes/article.html
parent44e1351fc71eaef7aefdc168dc9bc15b20d4bda4 (diff)
downloadmy_new_personal_website-39d56bc98834b09fc6939fd27bde8848efbb251d.tar.xz
my_new_personal_website-39d56bc98834b09fc6939fd27bde8848efbb251d.zip
Finally a nice solution for mapping relative urls
Diffstat (limited to '.themes/classic/source/_includes/article.html')
-rw-r--r--.themes/classic/source/_includes/article.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/.themes/classic/source/_includes/article.html b/.themes/classic/source/_includes/article.html
index a25691f8..a658e340 100644
--- a/.themes/classic/source/_includes/article.html
+++ b/.themes/classic/source/_includes/article.html
@@ -1,7 +1,7 @@
{% unless page.no_header %}
<header>
{% if index %}
- <h1 class="entry-title"><a href="{{ site.root }}{{ post.url }}">{{ post.title | titlecase }}</a></h1>
+ <h1 class="entry-title"><a href="{{ root_url }}{{ post.url }}">{{ post.title | titlecase }}</a></h1>
{% else %}
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
{% endif %}
@@ -11,10 +11,10 @@
</header>
{% endunless %}
{% if index %}
- <div class="entry-content">{{ content | full_urls: site.root | exerpt | smart_quotes }}</div>
+ <div class="entry-content">{{ content | exerpt }}</div>
<footer>
- <a rel="full-article" href="{{ site.root }}{{ post.url }}">Read on &rarr;</a>
+ <a rel="full-article" href="{{ root_url }}{{ post.url }}">Read on &rarr;</a>
</footer>
{% else %}
-<div class="entry-content">{{ content | full_urls: site.root | smart_quotes }}</div>
+<div class="entry-content">{{ content }}</div>
{% endif %}