remove sorting from twig template (breaks nested comments)

This commit is contained in:
Thorsten Witteler 2017-10-23 16:56:13 +02:00
parent d70f109776
commit 0936de7c1d
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<h3>{{'PLUGIN_COMMENTS.COMMENTS'|t}}</h3> <h3>{{'PLUGIN_COMMENTS.COMMENTS'|t}}</h3>
<a class="comment-add-new" href="#">{{'PLUGIN_COMMENTS.ADD_NEW'|t}}</a> <a class="comment-add-new" href="#">{{'PLUGIN_COMMENTS.ADD_NEW'|t}}</a>
<div class="row comments"> <div class="row comments">
{% for comment in grav.twig.comments|array_reverse %} {% for comment in grav.twig.comments %}
<div class="comment comment-level-{{comment.level|e}}" data-Id="{{comment.id}}" > <div class="comment comment-level-{{comment.level|e}}" data-Id="{{comment.id}}" >
<div class="comment-left"> <div class="comment-left">
<a href="#"> <a href="#">