Update layout

This commit is contained in:
Ariejan de Vroom 2013-05-31 21:41:51 +02:00
parent 9164e67bfd
commit d889bb12af
2 changed files with 26 additions and 22 deletions

View File

@ -38,9 +38,12 @@ img.gravatar {
border: 1px solid #e0e0e0; border: 1px solid #e0e0e0;
} }
.fixed {
// position: fixed;
}
#influad { #influad {
width: 130px; width: 130px;
position: fixed;
margin-top: 16px; margin-top: 16px;

View File

@ -7,27 +7,28 @@
#disqus_thread #disqus_thread
%section#sidebar %section#sidebar
%aside.widget.widget_metadata .fixed
%h3.widgettitle About this post %aside.widget.widget_influads
%p #influad
This post was written by <em>Ariejan de Vroom</em> on - if ENV['NANOC_ENV'] == "development"
<em>#{get_pretty_date(item)}</em> and .influads_block
tagged with <em>#{get_tags(item)}</em>. .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>
%aside.widget.widget_influads %aside.widget.widget_metadata
#influad %h3.widgettitle About this post
- if ENV['NANOC_ENV'] == "development" %p
.influads_block This post was written by <em>Ariejan de Vroom</em> on
.influads_img <em>#{get_pretty_date(item)}</em> and
%img(src="http://placehold.it/130x100&text=Influad%20(130x100)" width="130" height="100") tagged with <em>#{get_tags(item)}</em>.
.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>
:javascript :javascript
var disqus_url = "#{url_for(item)}"; var disqus_url = "#{url_for(item)}";