{%- comment %} {% endcomment -%}
{%- comment %} {% endcomment -%}
{%- comment %} {% endcomment -%}
{% comment %}
https://github.com/travisdowns/travisdowns.github.io/tree/master/_includes
https://travisdowns.github.io/blog/2020/02/05/now-with-comments.html#fnref:v3
{% endcomment %}
Comments
{% assign comments = site.data.comments[page.slug] | where_exp: "item", "item.replying_to_uid == ''" %} {% assign comments_by_date = comments | sort: 'date' | reverse %} {% for comment in comments_by_date %} {%- assign email = comment.email %} {%- assign name = comment.name %} {%- assign url = comment.url %} {%- assign date = comment.date %} {%- assign message = comment.message %} {%- assign uid = comment._id %} {% include themes/jmblog-theme/components/comment.html is_reply=false uid=uid replying_to=0 email=email name=name url=url date=date message=message uid=uid %} {% endfor %}