From 1ebca00e99d0fdfbf8d756a125d8ce38002da1b2 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Mon, 9 May 2016 10:51:59 -0600 Subject: [PATCH] Fix for themes with an array of Keywords #823 --- CHANGELOG.md | 1 + themes/grav/templates/partials/themes-details.html.twig | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b63cb220..e47b24ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ * Fix issue with update button when automatic check for updates is disabled * Fix issue caused by clicking "Check for updates" multiple times * Added missing translations + * Fix for Themes with an array of keywords [#823](https://github.com/getgrav/grav/issues/823) # v1.1.0-beta.3 ## 05/04/2016 diff --git a/themes/grav/templates/partials/themes-details.html.twig b/themes/grav/templates/partials/themes-details.html.twig index b59adda8..0fbcf580 100644 --- a/themes/grav/templates/partials/themes-details.html.twig +++ b/themes/grav/templates/partials/themes-details.html.twig @@ -63,7 +63,9 @@ {% if theme.keywords %} {{ "PLUGIN_ADMIN.KEYWORDS"|tu }}: - {{ theme.keywords }} + + {{ theme.keywords|join(', ') }} + {% endif %} {% if theme.license %} @@ -106,4 +108,4 @@ {% endif %} {% include 'partials/modal-changes-detected.html.twig' %} -{% include 'partials/modal-remove-package.html.twig' with { type: 'theme', package: theme } %} \ No newline at end of file +{% include 'partials/modal-remove-package.html.twig' with { type: 'theme', package: theme } %}