38 lines
1.6 KiB
Plaintext
38 lines
1.6 KiB
Plaintext
%section.post
|
|
%section#main
|
|
#content
|
|
%article.post
|
|
%h1= item[:title]
|
|
|
|
%p.meta
|
|
Written by <strong>Ariejan de Vroom</strong> on #{get_pretty_date(item)}.
|
|
|
|
= 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 = 'http://ariejannet.disqus.com/embed.js';
|
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
|
})();
|
|
|
|
%section#sidebar
|
|
%aside.influads
|
|
#influad
|
|
- if ENV['NANOC_ENV'] == "development"
|
|
.influads_block
|
|
.influads_img
|
|
%img(src="http://placehold.it/130x100&text=Influad%20(130x100)" width="130" height="100")
|
|
.influads_text
|
|
= link_to "The exquisite, low-cost way to design, send, and track email.", "#"
|
|
.influads_powered_div
|
|
= link_to "Powered by InfluAds", "#"
|
|
- else
|
|
:plain
|
|
<div id='influads_block' class='influads_block'></div>
|
|
<script type='text/javascript'>(function(){var acc='acc_933d676_pub';var st='nocss';var or='130';var e=document.getElementsByTagName('script')[0];var d=document.createElement('script');d.src=('https:' == document.location.protocol ?'https://' : 'http://') +'engine.influads.com/show/'+or+'/'+st+'/'+acc;d.type='text/javascript';d.async=true;d.defer=true; e.parentNode.insertBefore(d,e);})();</script>
|