From 4c10f9ca8614013cde2d6a548a8c01eed6e88484 Mon Sep 17 00:00:00 2001
From: William Floyd
Date: Thu, 17 Mar 2022 03:15:00 -0500
Subject: [PATCH] layouts: Get custom layouts in sync with upstream./
---
layouts/_default/single.html | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index a81d53f..cb8d947 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -18,8 +18,7 @@
{{ $name }}
{{ end -}}
{{ end }}
-
- {{- end }}
+ {{- end }}
{{.ReadingTime }} min
@@ -61,9 +60,9 @@
{{ i18n "Words" }}:
{{ .WordCount }}
-
+
- {{ if and ( $.Param "socialShare" ) (gt (len ($.Param "share")) 0) }}
+ {{ if and ( $.Site.Params.socialShare ) (gt (len ($.Site.Params.share)) 0) }}
{{ i18n "Share" }}:
{{ partial "share-links.html" . }}
{{ end }}