From b7b6e1114a80f3c6801d45acd0c6c3d8936ec1d4 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 11 Aug 2019 23:41:54 -0700 Subject: [PATCH] Fix constant name Had to fix the constant name, otherwise, it won't be displayed correctly in newer versions. See example https://learn.getgrav.org/16/cookbook/twig-recipes --- templates/partials/blog_item.html.twig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/partials/blog_item.html.twig b/templates/partials/blog_item.html.twig index 09ca969..c739974 100644 --- a/templates/partials/blog_item.html.twig +++ b/templates/partials/blog_item.html.twig @@ -12,7 +12,7 @@ {% if truncate %}
- {{ 'MONTHS_OF_THE_YEAR'|ta(page.date|date('n') - 1) }} {{ page.date|date('d, Y') }} + {{ 'GRAV.MONTHS_OF_THE_YEAR'|ta(page.date|date('n') - 1) }} {{ page.date|date('d, Y') }}
{% endif %} @@ -20,8 +20,8 @@
Posted on -