Sha256: e7689583afcced1ae5949adbb627a3c316e1595ac8dc9791f66a1bf6776990a7
Contents?: true
Size: 1.08 KB
Versions: 20
Compression:
Stored size: 1.08 KB
Contents
%div.posterous - if defined?(@posts) && @posts.nil? %h3 Sorry, there's a problem communicating with Posterous.com - else - @posts.each do |post| = haml :_post, :layout=>false, :locals=>{:post=>post} %nav#pagination - page = params[:page].to_i if defined?(params[:page]) - page ||= 1 - page = 1 if page < 1 #next - if page > 1 %a{:href=>"/posterous/#{page-1}"} Next #previous - if @posts %a{:href=>"/posterous/#{page+1}"} Previous - if Caboodle::Site.disqus :javascript (function() { var links = document.getElementsByTagName('a'); var query = '?'; for(var i = 0; i < links.length; i++) { if(links[i].href.indexOf('#disqus_thread') >= 0) { query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&'; } } document.write('<script type="text/javascript" src="http://disqus.com/forums/#{Caboodle::Site.disqus}/get_num_replies.js' + query + '"></' + 'script>'); })();
Version data entries
20 entries across 20 versions & 1 rubygems