diff --git a/layouts/partials/sharingbuttons.html b/layouts/partials/sharingbuttons.html new file mode 100644 index 0000000..0eb11f3 --- /dev/null +++ b/layouts/partials/sharingbuttons.html @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/layouts/posts/single.html b/layouts/posts/single.html index b9d8bd1..4ab3cdd 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -58,6 +58,13 @@ {{- end }} + {{- if .Site.Params.ShareButtons }} +
+
+ {{ partial "sharingbuttons.html" . }} +
+ {{- end }} + {{ if and (not $.Site.Params.DisableReadOtherPosts) (or .NextInSection .PrevInSection) }}