.row
.col-sm-12
.post
%h1.title
%a{href: item[:path]}= item[:title]
%p.meta= get_pretty_date(item)
.row
.col-sm-12
.post
.body
- if item[:note]
#note
= item[:note]
= yield
#appreciation
%small
Did you enjoy this post? Your generosity is mucy appreciated.
%br
%span#donate-button
:plain
Donate Bitcoins
#recent-posts
%h3 Recent posts on ariejan.net
- sorted_articles[0..4].each do |article|
%h4.title
%a{href: article.path, title: article[:title]}
%span.meta= get_short_date(article)
= article[:title]
#comments
#disqus_thread
:javascript
var disqus_url = "#{url_for(item)}";
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//ariejannet.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();