Files
pelican-themes/lightweight/templates/page.html
Miguel Ventura d4c5432d30 Page objects for PAGES already contain the proper url attribute.
Having the templates with /pages/ causes the generated links to be
wrong.
2012-09-03 00:39:05 +01:00

13 lines
430 B
HTML

{% extends "base.html" %}
{% block title %}{{ page.title }}{% endblock %}
{% block content %}
<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;">&nbsp;</div>
<section class="page_content">
{{ page.content }}
</section>
{% endblock %}