summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-05-05 16:23:55 +0800
committerReorx <novoreorx@gmail.com>2022-05-05 16:23:55 +0800
commitba84d6857d3ac1a397ad896d0f40d9053a8f55de (patch)
tree6c2f0c53a323ad13567352da9841ac0b35b46371 /layouts/_default/single.html
parenta41eb685a9dc74b8cd51e79e288594f6b681d05d (diff)
add social_links partial
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 2844957..9b0a398 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -36,9 +36,10 @@
{{- end }}
<footer class="post-footer">
- {{- if (and site.Params.ShowShareButtons (ne .Params.disableShare true)) }}
- {{- partial "share_icons.html" . -}}
+ {{- if (.Param "socialLinks") }}
+ {{- partial "social_links.html" . }}
{{- end }}
+
{{- if (.Param "ShowPostNavLinks") }}
{{- partial "post_nav_links.html" . }}
{{- end }}