Commit f088891f authored by Gijs Hendriksen's avatar Gijs Hendriksen

Replaced url by template tag

parent 1ce354ab
......@@ -26,7 +26,7 @@
<h2>{{ thabloid.year }}-{{ thabloid.year|add:1 }}, #{{ thabloid.issue }}</h2>
</div>
<ul class="post-overlay-icons">
<li><span></span><a class="overlay-icon-open open-thabloid" href="pages/{{ thabloid.year }}/{{ thabloid.issue }}/"></a></li>
<li><span></span><a class="overlay-icon-open open-thabloid" href="{% url 'thabloid:pages' thabloid.year thabloid.issue %}"></a></li>
<li><span></span><a class="overlay-icon-link" href="{{ thabloid.file.url }}" target="_blank"></a></li>
</ul>
</div>
......
......@@ -2,7 +2,7 @@ from django.conf.urls import url
from . import views
app_name='thabloid'
app_name = 'thabloid'
urlpatterns = [
url(r'^$', views.index, name='index'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment