Sha256: 8c2d54374310d27495c28562dc0df6d1941f05f288523f8866cd4a49527632d2

Contents?: true

Size: 487 Bytes

Versions: 14

Compression:

Stored size: 487 Bytes

Contents

<% if ENV['DISQUS_SHORT_NAME'].present? %>
  <div id="disqus_thread"></div>
  <script type="text/javascript">
    var disqus_shortname = '<%= ENV["DISQUS_SHORT_NAME"] %>';
    (function () {
      var s = document.createElement('script');
      s.async = true;
      s.type = 'text/javascript';
      s.src = '//' + disqus_shortname + '.disqus.com/count.js';
      (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
    }());
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
orats-0.9.7 lib/orats/templates/includes/new/rails/app/views/layouts/_disqus_count_snippet.html.erb
orats-0.9.6 lib/orats/templates/includes/new/rails/app/views/layouts/_disqus_count_snippet.html.erb
orats-0.9.5 lib/orats/templates/includes/new/rails/app/views/layouts/_disqus_count_snippet.html.erb
orats-0.9.4 lib/orats/templates/includes/new/rails/app/views/layouts/_disqus_count_snippet.html.erb
orats-0.9.3 lib/orats/templates/includes/new/rails/app/views/layouts/_disqus_count_snippet.html.erb
orats-0.9.2 lib/orats/templates/includes/new/rails/app/views/layouts/_disqus_count_snippet.html.erb
orats-0.9.1 lib/orats/templates/includes/new/rails/app/views/layouts/_disqus_count_snippet.html.erb
orats-0.9.0 lib/orats/templates/includes/new/rails/app/views/layouts/_disqus_count_snippet.html.erb
orats-0.8.1 lib/orats/templates/includes/new/rails/app/views/layouts/_disqus_count_snippet.html.erb
orats-0.8.0 lib/orats/templates/includes/new/rails/app/views/layouts/_disqus_count_snippet.html.erb
orats-0.7.3 lib/orats/templates/includes/new/rails/app/views/layouts/_disqus_count_snippet.html.erb
orats-0.7.2 lib/orats/templates/includes/new/rails/app/views/layouts/_disqus_count_snippet.html.erb
orats-0.7.1 lib/orats/templates/includes/new/rails/app/views/layouts/_disqus_count_snippet.html.erb
orats-0.7.0 lib/orats/templates/includes/new/rails/app/views/layouts/_disqus_count_snippet.html.erb