1
0
Fork 0
This repository has been archived on 2021-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
dennogumi.org-archive/_layouts/page.html
2015-02-26 15:20:13 +01:00

56 lines
1.5 KiB
HTML

---
layout: default
format: post
---
<div class="row t30">
<div class="medium-8 columns{% if page.sidebar == "" %} medium-offset-2 end{% endif %}{% if page.sidebar == "left" %} medium-push-4{% 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 }}" 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>{{ page.title }}</h1>
</span>
</header>
{% if page.teaser %}
<p class="teaser" itemprop="description">
{{ page.teaser }}
</p>
{% endif %}
<span itemprop="articleSection">
{{ content }}
</span>
{% if page.show_meta == true %}
{% include meta_information.html %}
{% endif %}
{% if page.comments == true %}
{% include comments.html %}
{% endif %}
</article>
</div><!-- /.medium-8.columns -->
{% if page.sidebar == "left" %}
<div class="medium-4 columns medium-pull-8">
{% include sidebar.html %}
</div><!-- /.medium-4.columns -->
{% endif %}
{% if page.sidebar == "right" %}
<div class="medium-4 columns">
{% include sidebar.html %}
</div><!-- /.medium-4.columns -->
{% endif %}
</div><!-- /.row -->