From c05bd8303b53d26e5b283bc71b0153f221dca962 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 23 Jun 2023 14:04:35 +0200 Subject: Improve HTML indentation --- themes/bear/templates/header.html | 2 +- themes/bear/templates/nav.html | 2 +- themes/bear/templates/page.html | 2 +- themes/bear/templates/section.html | 4 ++-- themes/bear/templates/taxonomy_single.html | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'themes') diff --git a/themes/bear/templates/header.html b/themes/bear/templates/header.html index 18b2318..9d2b31f 100644 --- a/themes/bear/templates/header.html +++ b/themes/bear/templates/header.html @@ -8,4 +8,4 @@ - +{{ "" -}} diff --git a/themes/bear/templates/nav.html b/themes/bear/templates/nav.html index cf0d9b7..ba41879 100644 --- a/themes/bear/templates/nav.html +++ b/themes/bear/templates/nav.html @@ -1,4 +1,4 @@ -Home + Home {%- if config.extra.main_menu %} {%- for item in config.extra.main_menu %} {%- if item.url is matching("https?://") %} diff --git a/themes/bear/templates/page.html b/themes/bear/templates/page.html index 393139b..001fdee 100644 --- a/themes/bear/templates/page.html +++ b/themes/bear/templates/page.html @@ -14,7 +14,7 @@ {%- endif %} {%- endif %}
- {{ page.content | safe }} + {{ page.content | trim | indent | safe }}