after-footer.ejs 825 B

12345678910111213141516171819202122232425
  1. <% if (config.disqus_shortname){ %>
  2. <script>
  3. var disqus_shortname = '<%= config.disqus_shortname %>';
  4. <% if (page.permalink){ %>
  5. var disqus_url = '<%= page.permalink %>';
  6. <% } %>
  7. (function(){
  8. var dsq = document.createElement('script');
  9. dsq.type = 'text/javascript';
  10. dsq.async = true;
  11. dsq.src = '//' + disqus_shortname + '.disqus.com/<% if (page.comments) { %>embed.js<% } else { %>count.js<% } %>';
  12. (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
  13. })();
  14. </script>
  15. <% } %>
  16. <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
  17. <% if (theme.fancybox){ %>
  18. <%- css('fancybox/jquery.fancybox') %>
  19. <%- js('fancybox/jquery.fancybox.pack') %>
  20. <% } %>
  21. <%- js('js/script') %>
  22. <%- partial('gauges-analytics') %>