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,12 +1,10 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block content_title %}
|
||||
<a href="{{ SITEURL }}/index.html" rel="bookmark">{{ SITENAME }}</a>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<p>{{ SITE_DESCR }}</p>
|
||||
{% if articles and ARTICLES_ON_INDEX %}
|
||||
<h2>Recent Articles:</h2>
|
||||
<ul class="item-list">
|
||||
<ul class="item-list" itemscope itemtype="http://schema.org/ItemList">
|
||||
<meta name="Recent Articles"/>
|
||||
{% for article in articles[0:ARTICLES_ON_INDEX] %}
|
||||
{% include '_list_item.html' %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user