_includes/static_comments.html in jekyll-theme-mehdix-rtl-1.2.0 vs _includes/static_comments.html in jekyll-theme-mehdix-rtl-1.2.1
- old
+ new
@@ -33,16 +33,16 @@
{% for cmt in comments %}
{% if cmt.id == comment.reply_to %}
<article class="sub-comment">
<div class="comment-image-wrapper">
- <img class="comment-avatar" src="https://www.gravatar.com/avatar/{{comment.email}}?s=200&d=robohash" />
+ <img class="comment-avatar" src="https://www.gravatar.com/avatar/{{cmt.email}}?s=200&d=robohash" />
</div>
<div class="comment-body-wrapper">
<span class="comment-meta">
<small>
{% if cmt.website != '' %}
- <a href={{comment.website}} target="_"><span commenter>{{ cmt.name }}</span></a>
+ <a href={{cmt.website}} target="_"><span commenter>{{ cmt.name }}</span></a>
{% else %}
{{ cmt.name }}
{% endif %}
</small>
<small> <a href="#{{ cmt.id }}">{{ cmt.created_at | jdate: "%d %b %Y" | habify }}</a></small>
\ No newline at end of file