comments.ejs 841 B

12345678910111213141516
  1. <script>
  2. /**
  3. * RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
  4. * LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
  5. var disqus_config = function () {
  6. this.page.url = '<%= `http://jamesperet.com/${page.canonical_path}` %>'; // Replace PAGE_URL with your page's canonical URL variable
  7. this.page.identifier = '<%= page.title %>'; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
  8. };
  9. (function() { // DON'T EDIT BELOW THIS LINE
  10. var d = document, s = d.createElement('script');
  11. s.src = 'https://j1x-blog.disqus.com/embed.js';
  12. s.setAttribute('data-timestamp', +new Date());
  13. (d.head || d.body).appendChild(s);
  14. })();
  15. </script>