Sha256: 4afecaa2e709a36ed00380c5d7f7e62107dd01a8f8cde947acfd53b32383b072

Contents?: true

Size: 1.29 KB

Versions: 5

Compression:

Stored size: 1.29 KB

Contents

{% assign config=site.comments.static %}

<article id="{{ include.comment.id }}">
  {% if config.avatar.visible %}
  <div class="comment-image-wrapper">
    <img class="comment-avatar" src="https://www.gravatar.com/avatar/{{include.comment.email}}?s=200&d=robohash" />
  </div>
  {% endif %}
  <div class="comment-body-wrapper">
    <span class="comment-meta">
      <small>
        {% if include.comment.website != '' %}
          <a href={{include.comment.website}} target="_"><span commenter>{{ include.comment.name }}</span></a>
        {% else %}
          <span commenter>{{ include.comment.name }}</span>
        {% endif %}
      </small>
      <small> &nbsp; <a href="#{{ include.comment.id }}">{{ include.comment.created_at | jdate: "%d %b %Y" | habify }}</a></small>
      <span style="display:none" commentId>{{ include.comment.id }}</span>
    </span>
    {{ include.comment.message | replace: "<p>", '' | replace: "</p>", newLine | replace: "<br>", newLine | strip_html | markdownify }}
    <small class="comment-meta"> &nbsp; <a href="#comment-form" onclick="replyTo('{{ include.comment.id }}')">پاسخ</a></small>
  </div>
</article>
<div class="reply">
{% for cc in include.comments %}
  {% if cc.reply_to == include.comment.id %}
    {% include comment.html comment=cc %}
  {% endif %}
{% endfor %}
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jekyll-theme-mehdix-rtl-4.0.0 _includes/comment.html
jekyll-theme-mehdix-rtl-3.2.0 _includes/comment.html
jekyll-theme-mehdix-rtl-3.1.2 _includes/comment.html
jekyll-theme-mehdix-rtl-3.1.1 _includes/comment.html
jekyll-theme-mehdix-rtl-3.1.0 _includes/comment.html