21 lines
565 B
Plaintext
21 lines
565 B
Plaintext
%article.post
|
|
%section#meta
|
|
%h1= item[:title]
|
|
|
|
%p.meta
|
|
Written by <strong>Ariejan de Vroom</strong> on #{get_pretty_date(item)}.
|
|
|
|
%section#body
|
|
= yield
|
|
|
|
%section#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);
|
|
})();
|