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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user