From 324730556db0cab64f5a264ddc72e56c5a444ecb Mon Sep 17 00:00:00 2001 From: Jeremiah Russell Date: Tue, 11 Feb 2025 06:47:36 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20style(header):=20improve=20forma?= =?UTF-8?q?tting=20for=20theme=20scripts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - adjust indentation and spacing for better readability ✨ feat(header): add webmentions support - include webmentions partial if enabled in config --- templates/partials/header.html | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/templates/partials/header.html b/templates/partials/header.html index 67495e2..dd082c4 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -136,10 +136,12 @@ {%- if config.extra.theme_switcher and config.extra.theme_switcher == true -%} - {# If JavaScript is disabled, hide the button. #} - - - + {# If JavaScript is disabled, hide the button. #} + + + {%- endif -%} {%- if config.extra.analytics.service -%} @@ -151,6 +153,11 @@ {%- endif -%} + {# Webmentions #} + {%- if config.extra.webmentions.enable -%} + {%- include "partials/webmentions.html" -%} + {%- endif -%} + {# Search #} {%- if config.build_search_index -%} {%- if config.search.index_format -%}