comments_helper_isso.tmpl 612 B

1234567891011121314151617181920
  1. ## -*- coding: utf-8 -*-
  2. <%def name="comment_form(url, title, identifier)">
  3. %if comment_system_id:
  4. <div data-title="${title|u}" id="isso-thread"></div>
  5. <script src="${comment_system_id}js/embed.min.js" data-isso="${comment_system_id}"></script>
  6. %endif
  7. </%def>
  8. <%def name="comment_link(link, identifier)">
  9. %if comment_system_id:
  10. <a href="${link}#isso-thread">Comments</a>
  11. %endif
  12. </%def>
  13. <%def name="comment_link_script()">
  14. %if comment_system_id:
  15. <script src="${comment_system_id}js/count.min.js" data-isso="${comment_system_id}"></script>
  16. %endif
  17. </%def>