mirror of
https://github.com/arsenetar/pelican-red.git
synced 2026-02-01 09:31: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,11 +1,10 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block title %}{{ super() }} - Categories{% endblock %}
|
||||
{% block content_title %}<a href="{{ SITEURL }}/{{ page_name }}.html" rel="bookmark">Categories</a>{% endblock %}
|
||||
{% block content %}
|
||||
<h2>Recent Articles by Category</h2>
|
||||
{% for cat, articles in categories %}
|
||||
<h3><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></h3>
|
||||
<ul class="item-list">
|
||||
<ul class="item-list" itemscope itemtype="http://schema.org/ItemList">
|
||||
<meta itemprop="name" content="{{ cat }} recent articles"/>
|
||||
{% for article in articles[0:3] %}
|
||||
{% include '_list_item.html' %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user