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. --- brownstone/templates/base.html | 2 +- brownstone/templates/page.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'brownstone') diff --git a/brownstone/templates/base.html b/brownstone/templates/base.html index 1da0c60..7ac50ca 100644 --- a/brownstone/templates/base.html +++ b/brownstone/templates/base.html @@ -40,7 +40,7 @@ Released : 20100928
  • Archives
  • {% if DISPLAY_PAGES_ON_MENU %} {% for page in PAGES %} -
  • {{ page.title }}
  • +
  • {{ page.title }}
  • {% endfor %} {% endif %} diff --git a/brownstone/templates/page.html b/brownstone/templates/page.html index 6181ea9..0c29eeb 100644 --- a/brownstone/templates/page.html +++ b/brownstone/templates/page.html @@ -3,7 +3,7 @@ {% block content %}
    -

    {{ page.title }}

    +

    {{ page.title }}

    {% if PDF_PROCESSOR %}get the pdf{% endif %}
     
    -- cgit v1.1