1
0
mirror of https://github.com/arsenetar/pelican-red.git synced 2026-01-23 15:11:38 +00:00

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
This commit is contained in:
2013-07-30 14:58:58 -04:00
parent 9f22128702
commit 0d53dc55d4
11 changed files with 50 additions and 40 deletions

View File

@@ -1,8 +1,13 @@
{% extends 'base.html' %}
{% block title %}{{ super() }} - {{ page.title|title }}{% endblock %}
{% block content_title %}<a href="{{ SITEURL }}/{{ page.url }}" rel="bookmark">{{ page.title|title }}</a>{% endblock %}
{% 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>
<article itemprop="text">
{{ page.content }}
</article>
<footer class="page_footer">