From d4c5432d304a4a6cf1739337466929f4e553f7a9 Mon Sep 17 00:00:00 2001 From: Miguel Ventura Date: Mon, 3 Sep 2012 00:39:05 +0100 Subject: Page objects for PAGES already contain the proper `url` attribute. Having the templates with /pages/ causes the generated links to be wrong. --- sneakyidea/templates/base.html | 2 +- sneakyidea/templates/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sneakyidea/templates') diff --git a/sneakyidea/templates/base.html b/sneakyidea/templates/base.html index a6cfb79..cf90b27 100644 --- a/sneakyidea/templates/base.html +++ b/sneakyidea/templates/base.html @@ -33,7 +33,7 @@ {% if DISPLAY_PAGES_ON_MENU %} {% for current_page in PAGES %}
  • - {{ current_page.title }} + {{ current_page.title }}
  • {% endfor %} {% endif %} diff --git a/sneakyidea/templates/index.html b/sneakyidea/templates/index.html index 5969e6c..d4e42b2 100644 --- a/sneakyidea/templates/index.html +++ b/sneakyidea/templates/index.html @@ -39,7 +39,7 @@

    Pages

    {% for page in PAGES %} -
  • {{ page.title }}
  • +
  • {{ page.title }}
  • {% endfor %}
    {% endif %} -- cgit