From d45a5fe4171f13e6c74e85752b9c67f4e89070fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Garc=C3=ADa=20Garz=C3=B3n?= Date: Wed, 10 Jun 2020 09:35:39 +0200 Subject: [PATCH] fix(more-categories): keywords is not a list Because keywords is not a list but a string with comma separated values, every letter was separated. Instead, just take it as a single item and lets append it as a single item, but if empty append an empty list. Also, for categories, when no category and no categories plugin is found resulted in [None]. --- templates/article.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/article.html b/templates/article.html index fd28554b..0a42f459 100644 --- a/templates/article.html +++ b/templates/article.html @@ -16,7 +16,11 @@ {% endif %} {{ super() }} {% if article.tags or article.category or article.keywords %} - + {% endif %} {% from '_includes/smo_metadata.html' import smo_metadata with context %}