2013-08-14 10:23:36 +00:00
|
|
|
.row
|
|
|
|
.col-sm-12
|
|
|
|
.post
|
2013-10-24 15:09:10 +00:00
|
|
|
%h1.title
|
|
|
|
%a{href: item[:path]}= item[:title]
|
2013-08-14 10:23:36 +00:00
|
|
|
%p.meta= get_pretty_date(item)
|
2013-06-07 12:35:24 +00:00
|
|
|
|
2013-08-14 10:23:36 +00:00
|
|
|
.row
|
2014-04-03 12:06:44 +00:00
|
|
|
.col-sm-12
|
2013-08-14 10:23:36 +00:00
|
|
|
.post
|
|
|
|
.body
|
2014-04-04 13:14:42 +00:00
|
|
|
- if item[:note]
|
|
|
|
#note
|
|
|
|
= item[:note]
|
|
|
|
|
2013-08-14 10:23:36 +00:00
|
|
|
= yield
|
2013-03-24 15:44:51 +00:00
|
|
|
|
2014-04-03 12:06:44 +00:00
|
|
|
#appreciation
|
2014-01-20 22:28:08 +00:00
|
|
|
%small
|
2014-04-03 12:06:44 +00:00
|
|
|
Did you enjoy this post? Your generosity is mucy appreciated.
|
2014-01-20 22:28:08 +00:00
|
|
|
%br
|
2014-04-03 12:06:44 +00:00
|
|
|
%span#donate-button
|
|
|
|
:plain
|
|
|
|
<a class="coinbase-button" data-code="95beb1cb8404aa9476f24d13be4e6d16" data-button-style="custom_small" data-custom="ARIEJANNET-DONATION" href="https://coinbase.com/checkouts/95beb1cb8404aa9476f24d13be4e6d16">Donate Bitcoins</a><script src="https://coinbase.com/assets/button.js" type="text/javascript"></script>
|
2013-08-16 04:27:57 +00:00
|
|
|
#recent-posts
|
|
|
|
%h3 Recent posts on <strong>ariejan.net</strong>
|
|
|
|
- sorted_articles[0..4].each do |article|
|
|
|
|
%h4.title
|
|
|
|
%a{href: article.path, title: article[:title]}
|
|
|
|
%span.meta= get_short_date(article)
|
|
|
|
= article[:title]
|
|
|
|
|
2013-08-14 10:23:36 +00:00
|
|
|
#comments
|
|
|
|
#disqus_thread
|
2013-03-24 15:44:51 +00:00
|
|
|
|
2013-08-14 10:23:36 +00:00
|
|
|
: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);
|
|
|
|
})();
|