From bce4ce75d18d4f591cbdf553f606bcce4ca09fee Mon Sep 17 00:00:00 2001
From: Patrick Kollitsch <83281+davidsneighbour@users.noreply.github.com>
Date: Sat, 17 Jan 2026 23:48:46 +0000
Subject: [PATCH] fix: remove unnecessary vertical space with disabled comments (#898)
---
layouts/single.html | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/layouts/single.html b/layouts/single.html
index 02bd489..1d31797 100644
--- a/layouts/single.html
+++ b/layouts/single.html
@@ -61,15 +61,17 @@
<div class="nested-copy-line-height lh-copy {{ $.Param "post_content_classes" | compare.Default "serif"}} f4 nested-links {{ $.Param "text_color" | compare.Default "mid-gray" }} {{ compare.Conditional (compare.Eq $.Site.Language.LanguageDirection "rtl") "pl4-l" "pr4-l" }} {{ if $needs_aside }}w-two-thirds-l{{ else }}w-100-l{{ end }}">
{{- .Content -}}
{{- partials.Include "tags.html" . -}}
- <div class="mt6 instapaper_ignoref">
{{ if .Site.Config.Services.Disqus.Shortname }}
+ <div class="mt6 instapaper_ignoref">
{{/* former internal template */}}
- {{ partial "disqus.html" . }}
+ {{ template "disqus.html" . }}
+ </div>
{{ end }}
{{ if .Site.Params.commentoEnable }}
+ <div class="mt6 instapaper_ignoref">
{{- partials.Include "commento.html" . -}}
- {{ end }}
</div>
+ {{ end }}
</div>
{{- if $needs_aside -}}
<aside class="w-30-l mt6-l">
--
Gitblit v1.10.0