45 lines
1.2 KiB
HTML
45 lines
1.2 KiB
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
<div class="post">
|
|
<h1 class="post-title">{{ page.title }}</h1>
|
|
<span class="post-date">{{ page.date | date_to_string }}</span>
|
|
{{ content }}
|
|
</div>
|
|
|
|
<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 }}">
|
|
{% if post.category == "links" %}⚓{% endif %}
|
|
{{ post.title }}
|
|
<small>{{ post.date | date_to_string }}</small>
|
|
</a>
|
|
</h3>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
|
|
{% if false %}
|
|
<div class="comments">
|
|
<h2>Comments</h2>
|
|
<div id="disqus_thread"></div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
|
|
var disqus_shortname = '{{ site.disqus_shortname }}';
|
|
|
|
/* * * 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>
|
|
{% endif %}
|