2016-02-22 22:46:49 +01:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
---
|
|
|
|
|
2016-03-07 16:27:07 +01:00
|
|
|
{% include base_path %}
|
2016-02-23 03:22:07 +01:00
|
|
|
|
2016-03-10 17:13:54 +01:00
|
|
|
<article class="page" itemscope itemtype="http://schema.org/CreativeWork">
|
2016-02-24 22:10:45 +01:00
|
|
|
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
2016-02-23 04:46:59 +01:00
|
|
|
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
|
|
|
|
{% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %}
|
2016-03-04 18:37:24 +01:00
|
|
|
|
2016-03-10 19:06:59 +01:00
|
|
|
<div class="page__inner-wrap">
|
2016-02-23 04:46:59 +01:00
|
|
|
<header>
|
2016-03-10 19:06:59 +01:00
|
|
|
<h1 class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>
|
2016-02-23 04:46:59 +01:00
|
|
|
</header>
|
2016-02-23 04:32:17 +01:00
|
|
|
|
2016-03-10 19:06:59 +01:00
|
|
|
<section class="page__content" itemprop="text">
|
2016-03-06 04:11:00 +01:00
|
|
|
{{ content }}
|
2016-03-10 17:13:54 +01:00
|
|
|
{% if page.link %}<div><a href="{{ page.link }}" class="btn">{{ site.data.ui-text[site.locale].ext_link_label }}</a></div>{% endif %}
|
2016-02-23 04:46:59 +01:00
|
|
|
</section>
|
2016-02-23 04:32:17 +01:00
|
|
|
|
2016-03-11 03:53:28 +01:00
|
|
|
<footer class="page__meta">
|
2016-03-11 21:55:06 +01:00
|
|
|
{% if site.data.ui-text[site.locale].meta_label %}
|
|
|
|
<h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4>
|
|
|
|
{% endif %}
|
2016-03-11 03:53:28 +01:00
|
|
|
{% include page__taxonomy.html %}
|
2016-03-09 22:33:27 +01:00
|
|
|
{% if page.modified %}
|
2016-03-11 03:53:28 +01:00
|
|
|
<p class="page__date"><strong>{{ site.data.ui-text[site.locale].date_label }}</strong> <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time></p>
|
2016-03-09 22:33:27 +01:00
|
|
|
{% elsif page.date %}
|
2016-03-11 03:53:28 +01:00
|
|
|
<p class="page__date"><strong>{{ site.data.ui-text[site.locale].date_label }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p>
|
2016-02-23 04:32:17 +01:00
|
|
|
{% endif %}
|
2016-02-22 22:46:49 +01:00
|
|
|
</footer>
|
2016-03-20 02:50:18 +01:00
|
|
|
|
|
|
|
{% if site.share and page.share %}{% include social-share.html %}{% endif %}
|
2016-03-11 21:55:06 +01:00
|
|
|
</div>
|
2013-05-24 16:25:31 +02:00
|
|
|
|
2016-03-07 17:29:35 +01:00
|
|
|
{% if site.comments.provider and page.comments %}
|
2016-03-18 03:55:13 +01:00
|
|
|
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label }}</h4>
|
2016-03-07 17:29:35 +01:00
|
|
|
{% case site.comments.provider %}
|
|
|
|
{% when "disqus" %}
|
|
|
|
<section id="disqus_thread"></section>
|
|
|
|
{% when "facebook" %}
|
|
|
|
<section class="fb-comments" data-href="{{ base_path }}{{ page.url }}" data-num-posts="{{ site.comments.facebook.num_posts | default: 5 }}" data-width="{{ site.comments.facebook.width | default: 580 }}" data-colorscheme="{{ site.comments.facebook.colorscheme | default: 'light' }}"></section>
|
|
|
|
{% when "google-plus" %}
|
|
|
|
<section class="g-comments" data-href="{{ base_path }}{{ page.url }}" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</section>
|
|
|
|
{% when "custom" %}
|
|
|
|
<section id="comments"></section>
|
|
|
|
{% endcase %}
|
2014-03-25 17:25:21 +01:00
|
|
|
{% endif %}
|
2016-02-22 22:46:49 +01:00
|
|
|
</article>
|
2013-05-24 16:25:31 +02:00
|
|
|
|
2016-03-04 18:37:24 +01:00
|
|
|
{% comment %}<!-- only show related on a post page when not disabled -->{% endcomment %}
|
|
|
|
{% if page.id and page.related and site.related_posts.size > 0 %}
|
2016-03-11 21:55:06 +01:00
|
|
|
<div class="page__related">
|
2016-03-18 20:07:02 +01:00
|
|
|
{% if site.data.ui-text[site.locale].related_label %}
|
|
|
|
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label }}</h4>
|
|
|
|
{% endif %}
|
|
|
|
<div class="grid__wrapper">
|
|
|
|
{% for post in site.related_posts limit:4 %}
|
2016-03-20 01:58:17 +01:00
|
|
|
{% include archive-single.html type="grid" %}
|
2016-03-18 20:07:02 +01:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2016-03-11 21:55:06 +01:00
|
|
|
</div>
|
2016-02-22 22:46:49 +01:00
|
|
|
{% endif %}
|