Finally a nice solution for mapping relative urls

This commit is contained in:
Brandon Mathis
2011-07-21 23:50:32 -04:00
parent 44e1351fc7
commit 39d56bc988
13 changed files with 38 additions and 29 deletions

View File

@ -1,5 +1,5 @@
{% capture category %}{{ post.categories | size }}{% endcapture %}
<h1><a href="{{ site.root }}{{ post.url }}">{{post.title}}</a></h1>
<h1><a href="{{ root_url }}{{ post.url }}">{{post.title}}</a></h1>
<time datetime="{{ post.date | datetime }}" pubdate>{{ post.date | date: "<span class='month'>%b</span> <span class='day'>%d</span> <span class='year'>%Y</span>"}}</time>
{% if category != '0' %}
<footer>