1
0
Fork 0

schema.org

This commit is contained in:
Moritz »mo.« Sauer 2015-02-18 14:14:29 +01:00
parent c8de4e8611
commit 43c2d9925b
7 changed files with 70 additions and 41 deletions

View file

@ -13,25 +13,29 @@ format: post
<div class="medium-8 columns{% if page.sidebar == "" %} medium-offset-2 end{% endif %}">
<article itemscope itemtype="http://schema.org/Article">
<header>
{% if page.image.title %}<img src="{{ site.url }}/images/{{ page.image.title }}" width="970" alt="{{ page.title escape_once }}">{% endif %}
{% if page.image.title %}<img src="{{ site.url }}/images/{{ page.image.title }}" width="970" alt="{{ page.title escape_once }}" itemprop="image">{% endif %}
{% if page.image.url && page.image.credit %}
<p class="text-right caption">
<a href="{{ page.image.url }}">{{ page.image.credit }}</a>
</p>
{% endif %}
<span itemprop="name">
{% if page.subheadline %}<p class="subheadline">{{ page.subheadline }}</p>{% endif %}
<h1 itemprop="name">{{ page.title }}</h1>
<h1>{{ page.title }}</h1>
</span>
</header>
{% if page.teaser %}
<p class="teaser">
<p class="teaser" itemprop="description">
{{ page.teaser }}
</p>
{% endif %}
<span itemprop="articleSection">
{{ content }}
</span>
{% if page.show_metadata == true %}
{% include meta_information.html %}