diff --git a/content/css/_main.scss b/content/css/_main.scss index f4306cf..b7c450b 100644 --- a/content/css/_main.scss +++ b/content/css/_main.scss @@ -2,6 +2,29 @@ body { font: 14px/20px "Open Sans", Helvetica, "Nimbus Sans L", sans-serif; } +#influad { + width: 130px; + + margin-top: 16px; + + .influads_text { + margin-top: 6px; + + color: #696969; + text-align: justify; + + font-size: 11px; + line-height: 15px; + a { + color: #696969; + } + } + + .influads_powered_div { + font-size: 10px; + } +} + ul.tla { font-size: 9px; color: #999; diff --git a/layouts/post.haml b/layouts/post.haml index fa6a8b8..eb0906c 100644 --- a/layouts/post.haml +++ b/layouts/post.haml @@ -16,6 +16,21 @@ #{get_pretty_date(item)} and tagged with #{get_tags(item)}. + %aside.widget.widget_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 +
+ + :javascript var disqus_url = "#{url_for(item)}"; (function() {