2014-11-30 20:47:18 +00:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
---
|
2014-03-23 19:40:19 +00:00
|
|
|
|
2014-11-30 20:47:18 +00:00
|
|
|
<div class="post">
|
|
|
|
<h1 class="post-title">{{ page.title }}</h1>
|
|
|
|
<span class="post-date">{{ page.date | date_to_string }}</span>
|
|
|
|
{{ content }}
|
|
|
|
</div>
|
2014-03-23 19:40:19 +00:00
|
|
|
|
2014-11-30 20:47:18 +00:00
|
|
|
<div class="related">
|
|
|
|
<h2>Related Posts</h2>
|
|
|
|
<ul class="related-posts">
|
|
|
|
{% for post in site.related_posts limit:3 %}
|
|
|
|
<li>
|
|
|
|
<h3>
|
|
|
|
<a href="{{ post.url }}">
|
|
|
|
{{ post.title }}
|
|
|
|
<small>{{ post.date | date_to_string }}</small>
|
|
|
|
</a>
|
|
|
|
</h3>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
2014-03-23 19:40:19 +00:00
|
|
|
|
2014-11-30 20:47:18 +00:00
|
|
|
{% if page.comments %}
|
2014-12-28 20:05:32 +00:00
|
|
|
<div class="comments">
|
|
|
|
<h2>Comments</h2>
|
|
|
|
<div id="disqus_thread"></div>
|
|
|
|
</div>
|
2014-03-23 19:40:19 +00:00
|
|
|
|
2014-12-28 20:05:32 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
|
|
|
|
var disqus_shortname = '{{ site.disqus_shortname }}';
|
2014-03-23 19:40:19 +00:00
|
|
|
|
2014-12-28 20:05:32 +00:00
|
|
|
/* * * DON'T EDIT BELOW THIS LINE * * */
|
|
|
|
(function() {
|
|
|
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
|
|
|
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
|
|
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
|
|
|
})();
|
|
|
|
</script>
|
2014-11-30 20:47:18 +00:00
|
|
|
{% endif %}
|