From 32f136036257aedd8c207476cd99f744fee40b72 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 5 May 2023 13:09:16 +0100 Subject: [PATCH] Reflow HTML based on updated `djlint` --- website/common/templates/common/blocks/image-caption.html | 4 +--- website/common/templates/wagtail_base.html | 2 +- .../mermaid_block/templates/contrib/blocks/mermaid.html | 4 +--- website/spotify/templates/spotify/spotify-item.html | 2 +- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/website/common/templates/common/blocks/image-caption.html b/website/common/templates/common/blocks/image-caption.html index 610a0b7..da567d7 100644 --- a/website/common/templates/common/blocks/image-caption.html +++ b/website/common/templates/common/blocks/image-caption.html @@ -6,7 +6,5 @@ {{ value.caption|richtext|extract_text }} -
- {{ value.caption|richtext }} -
+
{{ value.caption|richtext }}
diff --git a/website/common/templates/wagtail_base.html b/website/common/templates/wagtail_base.html index 6dc7c19..5bb3263 100644 --- a/website/common/templates/wagtail_base.html +++ b/website/common/templates/wagtail_base.html @@ -11,7 +11,7 @@ {% endblock %} {% block main_content %} - {% if page.hero_image_url %}{% endif %} + {% if page.hero_image_url %}{% endif %} {% if page.get_view_restrictions.exists %}
diff --git a/website/contrib/mermaid_block/templates/contrib/blocks/mermaid.html b/website/contrib/mermaid_block/templates/contrib/blocks/mermaid.html index 0a0dbb4..17aaf5e 100644 --- a/website/contrib/mermaid_block/templates/contrib/blocks/mermaid.html +++ b/website/contrib/mermaid_block/templates/contrib/blocks/mermaid.html @@ -6,7 +6,5 @@ {{ value.caption|richtext|extract_text }} -
- {{ value.caption|richtext }} -
+
{{ value.caption|richtext }}
diff --git a/website/spotify/templates/spotify/spotify-item.html b/website/spotify/templates/spotify/spotify-item.html index 3da9397..29aedf2 100644 --- a/website/spotify/templates/spotify/spotify-item.html +++ b/website/spotify/templates/spotify/spotify-item.html @@ -2,7 +2,7 @@ - {{ track.album.name }} + {{ track.album.name }}