From cb8720ceb5af200654d6a3c1950254cdbe9e715e Mon Sep 17 00:00:00 2001 From: Francesco Date: Tue, 13 Aug 2024 19:29:25 +0200 Subject: [PATCH] Uniform umami and comments inclusion --- layouts/_default/single.html | 2 ++ layouts/partials/comments.html | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a8f5079..41ed835 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -63,7 +63,9 @@
{{ .Content }} + {{ if .Site.Params.giscus.enable }} {{ partial "comments.html" . }} + {{ end }}
{{/* Next prev controls */}} diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index cbc7d6c..29b6f93 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -1,4 +1,3 @@ -{{ if .Site.Params.giscus.enable }} -{{ end }} \ No newline at end of file +