{% block title %}{{ article.title|striptags }}{% endblock %}
{% block content %}
<section id="content" class="body">
- <article>
+ <article itemscope itemtype="http://schema.org/BlogPosting">
<header>
- <h1 class="entry-title">
+ <h1 class="entry-title" itemprop="headline">
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
- title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
+ title="Permalink to {{ article.title|striptags }}"
+ itemprop="url">{{ article.title }}</a></h1>
{% include 'twitter.html' %}
</header>
<div class="post-info">
<p>
- <abbr class="published" title="{{ article.date.isoformat() }}">{{ article.locale_date }}</abbr>
+ <time itemprop="datePublished" datetime="{{ article.date.isoformat() }}"><abbr title="{{ article.date.isoformat() }}">{{ article.locale_date }}</abbr></time>
{% if article.modified %}
- (updated <abbr class="modified" title="{{ article.modified.isoformat() }}">{{ article.locale_modified }}</abbr>)
+ (updated <time itemprop="dateModified" title="{{ article.modified.isoformat() }}"><abbr title="{{ article.modified.isoformat() }}">{{ article.locale_modified }}</abbr></time>)
{% endif %}
{% if article.authors %}
by {% for author in article.authors %}
- <a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
+ <a class="url fn" href="{{ SITEURL }}/{{ author.url }}"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ author }}</span></span></a>
{% endfor %}
{% endif %}
<html lang="{{ DEFAULT_LANG }}">
<head>
<meta charset="utf-8" />
+ <meta name="author" content="{{ AUTHOR }}" />
+ <meta name="generator" content="Pelican" />
<title>{% block title %}{{ SITENAME }}{%endblock%}</title>
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/{{ CSS_FILE }}" />
{% if FEED_ALL_ATOM %}
{% for article in articles_page.object_list %}
<aside class="featured body">
- <article>
- <h1 class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h1>
+ <article itemscope itemtype="http://schema.org/BlogPosting">
+ <h1 class="entry-title" itemprop="headline"><a href="{{ SITEURL }}/{{ article.url }}" itemprop="url">{{ article.title }}</a></h1>
{% include 'article_infos.html' %}{{ article.content }}{% include 'comments.html' %}
</article>
{% if loop.length == 1 %}