1
0
mirror of https://github.com/arsenetar/pelican-red.git synced 2024-11-22 11:19:02 +00:00
pelican-red/templates/page.html
Andrew Senetar 0d53dc55d4 Update templates to include microformat support
The templates now include microformatting from schema.org.
The title and content_title blocks are no longer in most templates.
This updates the progess on issue #1
2013-07-30 14:58:58 -04:00

17 lines
406 B
HTML

{% extends 'base.html' %}
{% block content_image %}
{% if page.image %}
<a class="th" href="{{ SITEURL }}/static/{{ article.image }}">
<img src="{{ SITEURL }}/static/{{ article.image }}" itemprop="image"/>
</a>
{% endif %}
{% endblock %}
{% block content %}
<article itemprop="text">
{{ page.content }}
</article>
<footer class="page_footer">
{% include '_page_footer.html' %}
</footer>
{% endblock %}