diff options
author | Miguel Ventura <miguel.ventura@gmail.com> | 2012-09-03 00:39:05 +0100 |
---|---|---|
committer | Miguel Ventura <miguel.ventura@gmail.com> | 2012-09-03 00:39:05 +0100 |
commit | d4c5432d304a4a6cf1739337466929f4e553f7a9 (patch) | |
tree | 258c8f7383e1959a2973b0adefff2b9286fa6d48 /lightweight/templates/page.html | |
parent | 01a8792a5116a305368d9d98fa366923086e0633 (diff) | |
download | pelican-themes-d4c5432d304a4a6cf1739337466929f4e553f7a9.tar.gz |
Page objects for PAGES already contain the proper `url` attribute.
Having the templates with /pages/ causes the generated links to be
wrong.
Diffstat (limited to 'lightweight/templates/page.html')
-rw-r--r-- | lightweight/templates/page.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 %} - <h2 class="page_title"><a href="{{ SITEURL }}/pages/{{ page.url }}">{{ page.title }}</a></h1> + <h2 class="page_title"><a href="{{ SITEURL }}{{ page.url }}">{{ page.title }}</a></h1> {% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ page.slug }}.pdf">get the pdf</a>{% endif %} <div style="clear: both;"> </div> |