From 81bc231eb49904abff6657c92ce472b6af4b069a Mon Sep 17 00:00:00 2001
From: Regis Philibert <login@regisphilibert.com>
Date: Thu, 06 Feb 2020 15:33:06 +0000
Subject: [PATCH] Merge pull request #255 from budparr/198-add-share-links
---
layouts/_default/single.html | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 648a45e..a940308 100755
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -14,7 +14,8 @@
*/}}
{{with .CurrentSection.Title }}{{. | upper }}{{end}}
</aside>
- <h1 class="f1 athelas mb1">
+ {{ partial "social-share.html" . }}
+ <h1 class="f1 athelas mt3 mb1">
{{- .Title -}}
</h1>
{{ with .Params.author }}
@@ -32,6 +33,7 @@
<time class="f6 mv4 dib tracked" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
{{- .Date.Format "January 2, 2006" -}}
</time>
+
{{/*
Show "reading time" and "word count" but only if one of the following are true:
1) A global config `params` value is set `show_reading_time = true`
--
Gitblit v1.10.0