2016-02-22 22:46:49 +01:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
---
|
|
|
|
|
2016-02-23 03:22:07 +01:00
|
|
|
{% include absolute-url.liquid %}
|
|
|
|
|
2016-02-22 22:46:49 +01:00
|
|
|
<article class="post">
|
2016-02-23 04:32:17 +01:00
|
|
|
<div class="article-wrap">
|
2016-02-22 22:46:49 +01:00
|
|
|
{% if page.link %}
|
|
|
|
<h1><a href="{{ page.link }}">{{ page.title }}</a></h1>
|
2014-03-11 00:42:54 +01:00
|
|
|
{% else %}
|
2016-02-22 22:46:49 +01:00
|
|
|
<h1><a href="{{ absurl }}{{ page.url }}" rel="bookmark" title="{{ page.title }}">{{ page.title }}</a></h1>
|
2014-03-11 00:42:54 +01:00
|
|
|
{% endif %}
|
2016-02-23 04:32:17 +01:00
|
|
|
|
2016-02-22 22:46:49 +01:00
|
|
|
{{ content }}
|
2016-02-23 04:32:17 +01:00
|
|
|
|
2016-02-22 22:46:49 +01:00
|
|
|
<hr />
|
2016-02-23 04:32:17 +01:00
|
|
|
|
2016-02-22 22:46:49 +01:00
|
|
|
<footer role="contentinfo">
|
|
|
|
{% if page.share != false %}{% include social-share.html %}{% endif %}
|
2016-02-23 04:32:17 +01:00
|
|
|
{% if page.date %}
|
|
|
|
<p class="byline"><strong>{{ page.title }}</strong> was published on <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time>{% if page.modified %} and last modified on <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time>{% endif %}.</p>
|
|
|
|
{% endif %}
|
2016-02-22 22:46:49 +01:00
|
|
|
</footer>
|
|
|
|
</div><!-- /.article-wrap -->
|
2013-05-24 16:25:31 +02:00
|
|
|
|
2014-07-31 15:37:41 +02:00
|
|
|
{% if site.owner.disqus-shortname and page.comments == true %}
|
2014-03-25 17:25:21 +01:00
|
|
|
<section id="disqus_thread"></section><!-- /#disqus_thread -->
|
|
|
|
{% endif %}
|
2016-02-22 22:46:49 +01:00
|
|
|
</article>
|
2013-05-24 16:25:31 +02:00
|
|
|
|
2016-02-23 04:32:17 +01:00
|
|
|
{% comment %}<!-- only show related on a post page -->{% endcomment %}
|
|
|
|
{% if page.id and site.related_posts.size > 0 %}
|
2014-02-27 21:00:37 +01:00
|
|
|
<div class="related-articles">
|
2016-02-22 22:16:15 +01:00
|
|
|
<h4>You might also enjoy <small class="pull-right">(<a href="{{ absurl }}/posts/">View all posts</a>)</small></h4>
|
2013-05-24 16:25:31 +02:00
|
|
|
<ul>
|
|
|
|
{% for post in site.related_posts limit:3 %}
|
2016-02-22 22:16:15 +01:00
|
|
|
<li><a href="{{ absurl }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></li>
|
2013-05-24 16:25:31 +02:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
<hr />
|
2014-02-27 21:00:37 +01:00
|
|
|
</div><!-- /.related-articles -->
|
2016-02-22 22:46:49 +01:00
|
|
|
{% endif %}
|