From 9bf55202e93cbe2a644d24beb17a0c2bd30c6bc8 Mon Sep 17 00:00:00 2001 From: Thomas Jakobi Date: Wed, 18 Mar 2026 09:44:33 +0100 Subject: [PATCH] Fix conditional rendering for repository info Add md-header__source only when repo_url is set and discard the empty space otherwise. Signed-off-by: Thomas Jakobi --- src/partials/header.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/partials/header.html b/src/partials/header.html index 0421e08f..f6423afc 100644 --- a/src/partials/header.html +++ b/src/partials/header.html @@ -115,11 +115,11 @@ {% endif %} -
- {% if config.repo_url %} + {% if config.repo_url %} +
{% include "partials/source.html" %} - {% endif %} -
+
+ {% endif %}