|
|
@ -37,19 +37,20 @@ |
|
|
|
{% if PELICAN_COMMENT_SYSTEM %} |
|
|
|
<section> |
|
|
|
<form id="pcs-comment-form" action="#"> |
|
|
|
<legend>Add a Comment</legend> |
|
|
|
<legend>Ajouter un commentaire / Add a Comment</legend> |
|
|
|
<input type="hidden" id="pcs-comment-form-input-replyto"> |
|
|
|
<fieldset> |
|
|
|
<label for="pcs-comment-form-input-name">Name</label> |
|
|
|
<input id="pcs-comment-form-input-name" type="text" placeholder="Enter your name or nickname" /> |
|
|
|
<label for="pcs-comment-form-input-name">Nom / Name</label> |
|
|
|
<input id="pcs-comment-form-input-name" type="text" placeholder="Entrez votre nom / Enter your name or nickname" /> |
|
|
|
</fieldset> |
|
|
|
<fieldset> |
|
|
|
<label for="pcs-comment-form-input-website">Website</label> |
|
|
|
<input id="pcs-comment-form-input-website" type="text" placeholder="Enter your website (optional)" /> |
|
|
|
<label for="pcs-comment-form-input-website">Site web (optionel) / Website (optionnal)</label> |
|
|
|
<input id="pcs-comment-form-input-website" type="text" placeholder="Entrez votre site web (optionnel) / Enter your website (optional)" /> |
|
|
|
</fieldset> |
|
|
|
<fieldset> |
|
|
|
<label for="pcs-comment-form-input-textarea">Your Comment</label> |
|
|
|
<textarea id="pcs-comment-form-input-textarea" rows="5" style="resize:vertical;" placeholder="Your comment"></textarea> |
|
|
|
<label for="pcs-comment-form-input-textarea">Votre commentaire / Your Comment</label> |
|
|
|
<textarea id="pcs-comment-form-input-textarea" rows="5" style="resize:vertical;" placeholder="Votre commentaire / Your comment"></textarea> |
|
|
|
<p>Vous pouvez utiliser la syntaxe <a href="https://fr.wikipedia.org/wiki/Markdown">Markdown</a> pour formatter votre commentaire.</p> |
|
|
|
<p>You can use the <a href="https://en.wikipedia.org/wiki/Markdown">Markdown</a> syntax to format your comment.</p> |
|
|
|
<div style="display: none; " id="pcs-comment-form-display-replyto"></div> |
|
|
|
</fieldset> |
|
|
@ -62,7 +63,7 @@ |
|
|
|
|
|
|
|
{% if PELICAN_COMMENT_SYSTEM_FEED and article %} |
|
|
|
<a href="{{ SITEURL }}/{{ PELICAN_COMMENT_SYSTEM_FEED|format(article.slug) }}"> |
|
|
|
Comment Atom Feed |
|
|
|
Flux Atom pour commentaire / Comment Atom Feed |
|
|
|
</a> |
|
|
|
{% endif %} |
|
|
|
</form> |
|
|
@ -74,7 +75,7 @@ |
|
|
|
{% if PELICAN_COMMENT_SYSTEM %} |
|
|
|
<section id="pcs-comments"> |
|
|
|
<header> |
|
|
|
<h2>Comments</h2> |
|
|
|
<h2>Commentaires / Comments</h2> |
|
|
|
<hr/> |
|
|
|
</header> |
|
|
|
{% if article.comments %} |
|
|
@ -117,7 +118,7 @@ |
|
|
|
{% endfor %} |
|
|
|
</ul> |
|
|
|
{% else %} |
|
|
|
<p>There are no comments yet.</p> |
|
|
|
<p>Il n'y a aucun commentaire pour l'instant. / There are no comments yet.</p> |
|
|
|
{% endif %} |
|
|
|
{{ comments_form() }} |
|
|
|
</section> |
|
|
|