From 9c349d82c60d06563e1c1fc52600179f702cebc2 Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Mon, 14 May 2012 18:17:00 +0100 Subject: Use object.url to get the url for author, category and tags --- bootstrap/templates/base.html | 4 ++-- bootstrap/templates/categories.html | 2 +- bootstrap/templates/metadata.html | 6 +++--- bootstrap/templates/tags.html | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'bootstrap') diff --git a/bootstrap/templates/base.html b/bootstrap/templates/base.html index 5710a5e..9458d6e 100644 --- a/bootstrap/templates/base.html +++ b/bootstrap/templates/base.html @@ -35,7 +35,7 @@ {% endfor %} {% endif %} {% for cat, null in categories %} -
  • {{ cat }}
  • +
  • {{ cat }}
  • {% endfor %}

    [archives] [tags]

    @@ -73,4 +73,4 @@ - \ No newline at end of file + diff --git a/bootstrap/templates/categories.html b/bootstrap/templates/categories.html index 4500237..de7cbc3 100644 --- a/bootstrap/templates/categories.html +++ b/bootstrap/templates/categories.html @@ -3,7 +3,7 @@ {% block content %} {% endblock %} diff --git a/bootstrap/templates/metadata.html b/bootstrap/templates/metadata.html index 876df8f..8c9f261 100644 --- a/bootstrap/templates/metadata.html +++ b/bootstrap/templates/metadata.html @@ -1,4 +1,4 @@ Permalink: {{ article.date }} -{% if article.author %}by {{ article.author }}{% endif %} -in {{ article.category }} -{% if article.tags %}tags: {% for tag in article.tags %}{{ tag }} {% endfor %}{% endif %} +{% if article.author %}by {{ article.author }}{% endif %} +in {{ article.category }} +{% if article.tags %}tags: {% for tag in article.tags %}{{ tag }} {% endfor %}{% endif %} diff --git a/bootstrap/templates/tags.html b/bootstrap/templates/tags.html index a3b37be..d481bc3 100644 --- a/bootstrap/templates/tags.html +++ b/bootstrap/templates/tags.html @@ -3,7 +3,7 @@ {% block content %} {% endblock %} -- cgit v1.1