Sha256: 7972a8364ed16d1951d50a860e8805ddd806994d3c18777480beb8ad4138093c

Contents?: true

Size: 1.68 KB

Versions: 1

Compression:

Stored size: 1.68 KB

Contents

 <section id="static-comments">

    {% assign comments = site.data.comments[page.uuid] %}
    {% if comments %}
    <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>
        </div>
      </article>
      {% endfor%}
    </div>
    {% endif %}

    <form id="comment-form" name="comment" netlify>
      <input name="bot-field" style="display:none">
      <input name="page_id" style="display:none" value="{{page.id}}">
      <input name="page_uuid" style="display:none" value="{{page.uuid}}">
      <input name="page_date" style="display:none" value="{{page.date}}">
      <input name="page_title" style="display:none" value="{{page.title}}">
      <label for="message">دیدگاه
        <textarea id="message" name="message" required alt="no!!"></textarea>
      </label>
      <label for="name">نام
        <input id="name" type="text" name="name" required>
      </label>
      <label for="email">ایمیل
        <input id="email" type="email" name="email" required>
      </label>
      <label for="website">وبسایت
        <input id="website" type="url" name="website">
      </label>
      <div style="text-align:left">
        <button type="submit">برو به سلامت</button>
      </div>
    </form>

  </section>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-mehdix-rtl-0.1.17 _includes/static_comments.html