From d4c5432d304a4a6cf1739337466929f4e553f7a9 Mon Sep 17 00:00:00 2001 From: Miguel Ventura Date: Mon, 3 Sep 2012 00:39:05 +0100 Subject: [PATCH] Page objects for PAGES already contain the proper `url` attribute. Having the templates with /pages/ causes the generated links to be wrong. --- Just-Read/templates/base.html | 4 ++-- bootstrap/templates/base.html | 2 +- brownstone/templates/base.html | 2 +- brownstone/templates/page.html | 2 +- lightweight/templates/menu.html | 2 +- lightweight/templates/page.html | 2 +- mnmlist/templates/base.html | 2 +- notmyidea-cms-fr/templates/base.html | 2 +- notmyidea-cms-fr/templates/index.html | 2 +- notmyidea-cms/templates/base.html | 2 +- notmyidea-cms/templates/index.html | 2 +- sneakyidea/templates/base.html | 2 +- sneakyidea/templates/index.html | 2 +- waterspill/templates/base.html | 2 +- waterspill/templates/page.html | 2 +- 15 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Just-Read/templates/base.html b/Just-Read/templates/base.html index 96511ad..a768618 100644 --- a/Just-Read/templates/base.html +++ b/Just-Read/templates/base.html @@ -40,7 +40,7 @@
@@ -65,4 +65,4 @@ s.parentNode.insertBefore(g,s)}(document,'script')); - \ No newline at end of file + diff --git a/bootstrap/templates/base.html b/bootstrap/templates/base.html index 9458d6e..03e00e3 100644 --- a/bootstrap/templates/base.html +++ b/bootstrap/templates/base.html @@ -31,7 +31,7 @@ {% endfor %} {% if DISPLAY_PAGES_ON_MENU %} {% for page in PAGES %} -
  • {{ page.title }}
  • +
  • {{ page.title }}
  • {% endfor %} {% endif %} {% for cat, null in categories %} 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 %}
     
    diff --git a/lightweight/templates/menu.html b/lightweight/templates/menu.html index 9a9d011..5a6a52d 100644 --- a/lightweight/templates/menu.html +++ b/lightweight/templates/menu.html @@ -2,7 +2,7 @@ Accueil {% if DISPLAY_PAGES_ON_MENU != False%} {% for p in PAGES %} - {{ p.title }} + {{ p.title }} {% endfor %} {% else %} Catégories diff --git a/lightweight/templates/page.html b/lightweight/templates/page.html index 47dc631..875fcf7 100644 --- a/lightweight/templates/page.html +++ b/lightweight/templates/page.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% block title %}{{ page.title }}{% endblock %} {% block content %} -

    {{ page.title }}

    +

    {{ page.title }}

    {% if PDF_PROCESSOR %}get the pdf{% endif %}
     
    diff --git a/mnmlist/templates/base.html b/mnmlist/templates/base.html index ad7f23b..2e45ed7 100644 --- a/mnmlist/templates/base.html +++ b/mnmlist/templates/base.html @@ -30,7 +30,7 @@