Sha256: d095d9e42d64e93ab0a8d5ab903e247ce212875efe3387ee3e9d7345171fc3d4

Contents?: true

Size: 913 Bytes

Versions: 3

Compression:

Stored size: 913 Bytes

Contents

{%- if page.comments != false and (layout.comments != false or page.comments == true) -%}
  {%- assign page_id = page.url | slugify -%}
  <section id="comments" itemprop="comment">
    {%- if site.data.comments[page_id] -%}

      <h2 id="comments-h">Комментарии</h2>
      <p class="small italic">Комментарии не проходят премодерацию, автор сайта не может нести ответственность за их содержание.</p>

      {%- assign comments = site.data.comments[page_id] | sort -%}
      {%- for comment in comments -%}
        {%- assign c = comment[1] -%}
        {%- if c.parent_id == '' and c.comment_id != '' -%}
          {%- include nova/comments/item.liquid comment=c source=comments -%}
        {%- endif -%}
      {%- endfor -%}

    {%- endif -%}
  </section>

  {%- include nova/comments/form.liquid -%}

{%- endif -%}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jekyll-theme-shikhalev-0.1.0.8 _includes/nova/comments/section.liquid
jekyll-theme-shikhalev-0.1.0.6 _includes/nova/comments/section.liquid
jekyll-theme-shikhalev-0.1.0.5 _includes/nova/comments/section.liquid