Skip to content
Permalink
Browse files
Fix #3198 -- make Commento comments work
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 3, 2019
1 parent f111c81 commit e3e507bee777b8d529227a52960e600930c50f07
Showing with 10 additions and 9 deletions.
  1. +1 −0 CHANGES.txt
  2. +9 −9 nikola/data/themes/base/templates/comments_helper_commento.tmpl
@@ -4,6 +4,7 @@ New in master
Bugfixes
--------

* Make Commento comments work (Issue #3198)
* Set one-file status basing on default language only (Issue #3191)
* Don’t warn if post status is set to ``published`` explicitly
(Issue #3181)
@@ -1,19 +1,19 @@
## -*- coding: utf-8 -*-
<%def name="comment_form(url, title, identifier)">
<div id="commento"></div>

<script src="${comment_system_id}/assets/js/commento.min.js"></script>
<script>
window.onload = function() {
Commento.init({
serverUrl: "${comment_system_id}",
});
}
</script>
</%def>

<%def name="comment_link(link, identifier)">
</%def>


<%def name="comment_link_script()">
<script src="${comment_system_id}/assets/js/commento.min.js"></script>
<script>
window.onload = function() {
Commento.init({
serverUrl: "${comment_system_id}",
});
}
</script>
</%def>

0 comments on commit e3e507b

Please sign in to comment.