From f07a1ca8379b53cced427064d7b945a26b4e310a Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Sat, 8 Jul 2023 12:23:02 -0400 Subject: [PATCH] Fix some HTML format bugs --- config.toml | 2 +- templates/base.html | 4 ++-- templates/components/metadata/advertise-rss.html | 4 ++-- templates/components/metadata/opengraph.html | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config.toml b/config.toml index 3c04372..ebd104d 100644 --- a/config.toml +++ b/config.toml @@ -6,7 +6,7 @@ compile_sass = true build_search_index = true generate_feed = true feed_filename = "rss.xml" -minify_html = false +minify_html = true [markdown] highlight_code = true diff --git a/templates/base.html b/templates/base.html index dc70a5a..a78de48 100644 --- a/templates/base.html +++ b/templates/base.html @@ -18,13 +18,13 @@ - + {% include "components/metadata/advertise-rss.html" %} {% include "components/metadata/opengraph.html" %} {# Redirect support #} {% if redirect_target != "" %} - + {% endif %} {# Page title #} diff --git a/templates/components/metadata/advertise-rss.html b/templates/components/metadata/advertise-rss.html index 92c8697..928e0b5 100644 --- a/templates/components/metadata/advertise-rss.html +++ b/templates/components/metadata/advertise-rss.html @@ -1,5 +1,5 @@ {% if current_url %} - + {% endif %} - \ No newline at end of file + \ No newline at end of file diff --git a/templates/components/metadata/opengraph.html b/templates/components/metadata/opengraph.html index 1245e06..253432d 100644 --- a/templates/components/metadata/opengraph.html +++ b/templates/components/metadata/opengraph.html @@ -5,7 +5,7 @@ {# Page image #} + content="{% block opengraph_image_url %}{{config.extra.profile_photo | safe}}{% endblock opengraph_image_url %}" /> {# Page description #}