From 514ce618db6174e8df0e1262f8b300c0c5ae3e62 Mon Sep 17 00:00:00 2001 From: "mr.Shu" Date: Fri, 1 Mar 2019 09:17:17 +0100 Subject: [PATCH] themes: Fix format issue in `simple` template * The `simple` template that is bundled with Pelican has been shown to suffer from the problem described in #2489. This has also been reported as a bug in the Debian Bug tracer: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919636 * This commit fixes the problem by updating the `simple` template to the new way of interpolating variables via the Jinja2 `format` helper function. Signed-off-by: mr.Shu --- pelican/themes/simple/templates/base.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pelican/themes/simple/templates/base.html b/pelican/themes/simple/templates/base.html index a1fdcf78..409f18e1 100644 --- a/pelican/themes/simple/templates/base.html +++ b/pelican/themes/simple/templates/base.html @@ -17,16 +17,16 @@ {% endif %} {% if CATEGORY_FEED_ATOM and category %} - + {% endif %} {% if CATEGORY_FEED_RSS and category %} - + {% endif %} {% if TAG_FEED_ATOM and tag %} - + {% endif %} {% if TAG_FEED_RSS and tag %} - + {% endif %} {% endblock head %}