Permalink
Browse files

Merge pull request #338 from bbinet/fix-urls

prefix urls with '{{ SITEURL }}/' so that urls won't break when #330 is merged
  • Loading branch information...
2 parents 419a215 + f12a297 commit a42446268d30311c9d1bbd4a0d5fe5a2d09bcb9d @almet almet committed May 11, 2012
@@ -6,7 +6,7 @@ <h1>Archives for {{ SITENAME }}</h1>
<dl>
{% for article in dates %}
<dt>{{ article.locale_date }}</dt>
- <dd><a href="{{ article.url }}">{{ article.title }}</a></dd>
+ <dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
{% endfor %}
</dl>
</section>
@@ -2,7 +2,7 @@
{% block content %}
<ul>
{% for category, articles in categories %}
- <li><a href="{{ category.url }}">{{ category }}</a></li>
+ <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li>
{% endfor %}
</ul>
{% endblock %}
@@ -5,7 +5,7 @@ <h1>Archives for {{ SITENAME }}</h1>
<dl>
{% for article in dates %}
<dt>{{ article.locale_date }}</dt>
- <dd><a href="{{ article.url }}">{{ article.title }}</a></dd>
+ <dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
{% endfor %}
</dl>
{% endblock %}

0 comments on commit a424462

Please sign in to comment.