Sha256: 8be554fd1a8d6523ca4dfbcfb2f554f73b11712642019ca171baa580ebaaddac
Contents?: true
Size: 886 Bytes
Versions: 2
Compression:
Stored size: 886 Bytes
Contents
<% if Blogo.config.disqus_shortname %> <section id='disqus-comments'> <h1> Comments </h1> <div id="disqus_thread" aria-live="polite"></div> <noscript>Please enable JavaScript to view the comments.</noscript> </section> <script type="text/javascript"> var disqus_shortname = '<%= Blogo.config.disqus_shortname %>'; var disqus_identifier = 'blog-post-<%= @post.id %>'; var disqus_url = '<%= blogo_post_url(@post) %>'; var disqus_title = '<%= @post.title %>'; var disqus_script = 'embed.js'; (function () { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = 'http://' + disqus_shortname + '.disqus.com/' + disqus_script; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); }()); </script> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
blogo-0.0.8 | app/views/blogo/posts/_disqus_comments.html.erb |
blogo-0.0.7 | app/views/blogo/posts/_disqus_comments.html.erb |