Sha256: dbc7a838688ddfdc875ee0e46531bcf982a09ca8383fb26ce40a9706e2db9351

Contents?: true

Size: 842 Bytes

Versions: 6

Compression:

Stored size: 842 Bytes

Contents

- if ENV["RACK_ENV"] == "development"
  :javascript
    var disqus_developer = true;

    
%div.posterous

  - if post.nil?
    %h3
      Sorry, there's a problem communicating with Posterous.com
    %p
      You can view this post at
      %a{:href=>"http://#{Site.posterous_sitename}.posterous.com/#{params[:slug]}"}
        = posterous_sitename
        on Posterous.com
  - else      
    = haml :_post, :locals=>{:post=>post, :full=>true}, :layout=>false
  - if Caboodle::Site.disqus
    #disqus_thread
    %script{:src => "http://disqus.com/forums/#{Caboodle::Site.disqus}/embed.js", :type => "text/javascript"}
    %noscript
      %a{:href => "http://#{Caboodle::Site.disqus}.disqus.com/?url=ref"} View the discussion thread.
    %a.dsq-brlink{:href => "http://disqus.com"}
      blog comments powered by
      %span.logo-disqus Disqus

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
caboodle-0.3.0 lib/caboodle/kits/posterous/views/post.haml
caboodle-0.2.30 lib/caboodle/kits/posterous/views/post.haml
caboodle-0.2.29 lib/caboodle/kits/posterous/views/post.haml
caboodle-0.2.28 lib/caboodle/kits/posterous/views/post.haml
caboodle-0.2.27 lib/caboodle/kits/posterous/views/post.haml
caboodle-0.2.26 lib/caboodle/kits/posterous/views/post.haml