_includes/static_comments.html in jekyll-theme-mehdix-rtl-0.1.17 vs _includes/static_comments.html in jekyll-theme-mehdix-rtl-0.1.18

- old
+ new

@@ -5,12 +5,18 @@ <div id="comments"> <h4>نظرات سایر خوانندگان</h4> {% for comment in comments %} <article> <div class="comment-image-wrapper"><img class="comment-avatar" src="https://www.gravatar.com/avatar/{{comment.email}}?s=200&d=robohash" /></div> <div class="comment-body-wrapper"> - <h5 style="display: inline"><a href={{comment.url}}>{{ comment.name }}</a></h5> - <p class="post-meta" style="display: inline"> •&nbsp {{ comment.date }}</p> - <p>{{ comment.text }}</p> + <small> + {% if comment.website %} + <a href={{comment.website}}>{{ comment.name }}</a> + {% else %} + {{ comment.name }} + {% endif %} + </small> + <small class="post-meta"> •&nbsp {{ comment.date | jdate: "%d %b %Y" | habify }}</small> + <p>{{ comment.message }}</p> </div> </article> {% endfor%} </div> {% endif %} \ No newline at end of file