From a7e0cc4edf3b75c734cd8dcc0d5890a2fce9aba9 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 2846e1d4..73dba48e 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 %}