Comments by Staticman and Identosphere

Team Identosphere

Subscribe Free for Weekly Identity Updates!!

You can even read previous editions before making a decision.

{% case site.comments.provider %} {% when "staticman_v2" %}
{% if site.repository and site.staticman.branch %}
{% if site.data.comments[page.slug] %}

{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}

{% assign comments = site.data.comments[page.slug] | sort %} {% for comment in comments %} {% assign email = comment[1].email %} {% assign name = comment[1].name %} {% assign url = comment[1].url %} {% assign date = comment[1].date %} {% assign message = comment[1].message %} {% include comment.html index=forloop.index email=email name=name url=url date=date message=message %} {% endfor %} {% endif %}

{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}

{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} *

{{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}
{% if site.reCaptcha.siteKey %}
{% endif %}
{% if site.reCaptcha.siteKey %}{% endif %} {% endif %}
{% when "staticman" %}
{% if site.repository and site.staticman.branch %}
{% if site.data.comments[page.slug] %}

{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}

{% assign comments = site.data.comments[page.slug] | sort %} {% for comment in comments %} {% assign email = comment[1].email %} {% assign name = comment[1].name %} {% assign url = comment[1].url %} {% assign date = comment[1].date %} {% assign message = comment[1].message %} {% include comment.html index=forloop.index email=email name=name url=url date=date message=message %} {% endfor %} {% endif %}

{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}

{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} *

{{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}
{% endif %}
{% when "utterances" %}

{{ comments_label }}

{% when "custom" %}
{% endcase %}