|
|
@ -74,10 +74,6 @@ |
|
|
|
{% macro comments_with_form() %} |
|
|
|
{% if PELICAN_COMMENT_SYSTEM %} |
|
|
|
<section id="pcs-comments"> |
|
|
|
<header> |
|
|
|
<h2>Commentaires / Comments</h2> |
|
|
|
<hr/> |
|
|
|
</header> |
|
|
|
{% if article.comments %} |
|
|
|
<ul> |
|
|
|
{% for comment in article.comments recursive %} |
|
|
@ -85,8 +81,8 @@ |
|
|
|
<div class="comment-left"> |
|
|
|
<img src="{{ SITEURL }}/{{ comment.avatar }}" |
|
|
|
alt="Avatar" |
|
|
|
height="{{ PELICAN_COMMENT_SYSTEM_IDENTICON_SIZE }}px" |
|
|
|
width="{{ PELICAN_COMMENT_SYSTEM_IDENTICON_SIZE }}px"> |
|
|
|
height="{{ PELICAN_COMMENT_SYSTEM_IDENTICON_SIZE }}" |
|
|
|
width="{{ PELICAN_COMMENT_SYSTEM_IDENTICON_SIZE }}"> |
|
|
|
</div> |
|
|
|
<div class="comment-body"> |
|
|
|
<div style="float:right;"> |
|
|
@ -136,7 +132,7 @@ |
|
|
|
$(document).ready(function() { |
|
|
|
CommentSystem.email_user = "{{ user }}"; |
|
|
|
CommentSystem.email_domain = "{{ domain }}"; |
|
|
|
CommentSystem.display_replyto_html = function(comment_content, article_slug, author) { |
|
|
|
CommentSystem.display_replyto_html = function(comment_content, article_slug, author) { |
|
|
|
return '' |
|
|
|
+ '<button style="float:right;" onclick="CommentSystem.cancelReply(); return false;" title="Cancel the reply">' |
|
|
|
+ '×' |
|
|
|