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

65 lines
1.7 KiB
HTML

---
layout: default
format: post
---
<div class="row t30">
<div class="medium-8 columns{% if page.sidebar == NULL %} 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 %}
<figure>
<img src="{{ site.url }}/images/{{ page.image.title }}" width="970" alt="{{ page.title escape_once }}" itemprop="image">
{% if page.image.caption_url && page.image.caption %}
<figcaption class="text-right">
<a href="{{ page.image.caption_url }}">{{ page.image.caption }}</a>
</figcaption>
{% elsif page.image.caption %}
<figcaption class="text-right">
{{ page.image.caption }}
</figcaption>
{% endif %}
</figure>
{% 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 -->