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 #1master
parent
9f22128702
commit
0d53dc55d4
@ -1,9 +1,8 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block title %}{{ super() }} - {{author}}{% endblock %}
|
||||
{% block content_title %}<a href="{{ SITEURL }}/{{ author.url }}" rel="bookmark">{{author}}</a>{% endblock %}
|
||||
{% block content %}
|
||||
<ul class="item-list">
|
||||
<ul class="item-list featured" itemscope itemtype="http://schema.org/ItemList">
|
||||
{% include '_author_item.html' %}
|
||||
</ul>
|
||||
{{ super() }}
|
||||
{% endblock %}
|
||||
|
||||
|
@ -1,11 +1,13 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block content_title %}<a href="{{ SITEURL }}/{{ page_name }}.html" rel="bookmark">Authors</a>{% endblock %}
|
||||
{% block content %}
|
||||
{% if authors %}
|
||||
<ul class="item-list">
|
||||
<ul class="item-list" itemscope itemtype="http://schema.org/ItemList">
|
||||
<meta itemprop="name" content="Authors"/>
|
||||
<meta itemprop="itemListOrder" content="Unordered"/>
|
||||
{% for author, articles in authors %}
|
||||
{% include '_author_item.html' %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
@ -1,4 +1,2 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block title %}{{ super() }} - {{ category }}{% endblock %}
|
||||
{% block content_title %}<a href="{{ SITEURL }}/{{ category.url }}" rel="bookmark">{{ category }}</a>{% endblock %}
|
||||
|
||||
|
@ -1,3 +1,2 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block title %}{{ super() }} - {{ tag }} {% endblock %}
|
||||
{% block content_title %}<a href="{{ SITEURL }}/{{ tag.url }}" rel="bookmark">{{ tag }}</a>{% endblock %}
|
||||
|
||||
|
Loading…
Reference in New Issue