{% extends 'partials/base.html.twig' %} {% if admin.route %} {% set context = admin.page(true) %} {% endif %} {% block titlebar %}

{{ "PLUGIN_COMMENTS.COMMENTS"|tu }}

{% endblock %} {% block content %}

Comments in the last 7 days

{% for comment in grav.twig.comments.comments %} {% endfor %}
Author Comment Details
{{comment.author}} {{comment.text}} Page: {{comment.pageTitle}}
Date: {{comment.date}}
{% if grav.twig.comments.totalRetrieved < grav.twig.comments.totalAvailable %} {% endif %}

Showing {{grav.twig.comments.totalRetrieved}} comments of {{grav.twig.comments.totalAvailable}}

{% if grav.twig.pages %}

Recently commented pages

{% for page in grav.twig.pages %} {% endfor %}
Page Number of comments Last commented on
{{page.title}} {{page.commentsCount}} {{page.lastCommentDate}}
{% endif %} {% endblock %}