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 --- notmyidea-cms-fr/templates/article.html | 2 +- notmyidea-cms-fr/templates/base.html | 4 ++-- notmyidea-cms-fr/templates/index.html | 4 ++-- notmyidea-cms-fr/templates/taglist.html | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'notmyidea-cms-fr') diff --git a/notmyidea-cms-fr/templates/article.html b/notmyidea-cms-fr/templates/article.html index 501bb95..24767dd 100644 --- a/notmyidea-cms-fr/templates/article.html +++ b/notmyidea-cms-fr/templates/article.html @@ -16,7 +16,7 @@ Par {{ article.author }} {% endif %} -

Dans {{ article.category }}. +

Dans {{ article.category }}. {% include 'taglist.html' %} {{ article.content }} diff --git a/notmyidea-cms-fr/templates/base.html b/notmyidea-cms-fr/templates/base.html index 12db9ca..b954762 100644 --- a/notmyidea-cms-fr/templates/base.html +++ b/notmyidea-cms-fr/templates/base.html @@ -38,7 +38,7 @@ {% endfor %} {% endif %} {#{% for cat, null in categories %} -

  • {{ cat }}
  • +
  • {{ cat }}
  • {% endfor %}#} @@ -51,7 +51,7 @@

    Catégories

    diff --git a/notmyidea-cms-fr/templates/index.html b/notmyidea-cms-fr/templates/index.html index ab68f81..1216f24 100644 --- a/notmyidea-cms-fr/templates/index.html +++ b/notmyidea-cms-fr/templates/index.html @@ -18,7 +18,7 @@ Par {{ article.author }} {% endif %} -

    Dans {{ article.category }}. {% if PDF_PROCESSOR %}télécharger le PDF{% endif %}

    +

    Dans {{ article.category }}. {% if PDF_PROCESSOR %}télécharger le PDF{% endif %}

    {% include 'taglist.html' %} {{ article.content }} @@ -43,7 +43,7 @@
    Par {{ article.author }}
    -

    Dans {{ article.category }}

    +

    Dans {{ article.category }}

    {% include 'taglist.html' %}

    {% if PDF_PROCESSOR %}PDF{% endif %}

    diff --git a/notmyidea-cms-fr/templates/taglist.html b/notmyidea-cms-fr/templates/taglist.html index 8ca52db..f1238b6 100644 --- a/notmyidea-cms-fr/templates/taglist.html +++ b/notmyidea-cms-fr/templates/taglist.html @@ -1,2 +1,2 @@ -{% if article.tags %}

    tags: {% for tag in article.tags %}{{ tag }}{% endfor %}

    {% endif %} +{% if article.tags %}

    tags: {% for tag in article.tags %}{{ tag }}{% endfor %}

    {% endif %} {% if PDF_PROCESSOR %}Télécharger le PDF{% endif %}

    -- cgit v1.1