From a5a2e0ae482a5168781b4abf952885531bdc93cc Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Sun, 17 Apr 2022 15:34:03 -0700 Subject: make generating seo-related tags optional --- templates/404.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'templates/404.html') diff --git a/templates/404.html b/templates/404.html index 22e8791..23c7168 100644 --- a/templates/404.html +++ b/templates/404.html @@ -2,10 +2,13 @@ {# Title #} {% block title %}Sorry! Page not found.{% endblock title %} -{% block current_url %} - - -{% endblock current_url %} + +{% if config.extra.seo | default(value=true) %} + {% block current_url %} + + + {% endblock current_url %} +{% endif %} {# Page heading #} {% block content %}
-- cgit v1.3.1