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
|
|
|
|
.col-sm-9
|
|
|
|
.post
|
|
|
|
.body
|
|
|
|
= yield
|
2013-03-24 15:44:51 +00:00
|
|
|
|
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);
|
|
|
|
})();
|
2013-03-24 15:44:51 +00:00
|
|
|
|
2013-08-14 10:23:36 +00:00
|
|
|
.col-sm-3.hidden-xs
|
|
|
|
#adpacks
|
|
|
|
.bsarocks.bsap_a40a34b3f2d124df05e7c20ddaa79bd8#bsap_1287881
|
2013-10-18 08:01:15 +00:00
|
|
|
%a(href="http://adpacks.com" rel="nofollow" id="bsap_aplink") via Ad Packs
|
|
|
|
|
|
|
|
#digital-ocean
|
|
|
|
%a(href="https://www.digitalocean.com/?refcode=04a9230a84e6" rel="nofollow") Powered by Digital Ocean
|