summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-17 16:36:50 +0200
committerDanilo M. <danix@danix.xyz>2026-04-17 16:36:50 +0200
commite3abd8c17d61f821d46d03224e400f81232bbaaa (patch)
treefcb217d12c36eb37efb33da50d986064d885fccb
parent09bf24e83154aba8e0ed8178cebdeac16553e990 (diff)
downloaddanixxyz-e3abd8c17d61f821d46d03224e400f81232bbaaa.tar.gz
danixxyz-e3abd8c17d61f821d46d03224e400f81232bbaaa.zip
feat: add social sharing widget to sidebar (articles and pages)
-rw-r--r--themes/danix-xyz-hacker/layouts/partials/sidebar.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/danix-xyz-hacker/layouts/partials/sidebar.html b/themes/danix-xyz-hacker/layouts/partials/sidebar.html
index 0d1b802..2ec48a6 100644
--- a/themes/danix-xyz-hacker/layouts/partials/sidebar.html
+++ b/themes/danix-xyz-hacker/layouts/partials/sidebar.html
@@ -7,6 +7,9 @@
</p>
</div>
+ <!-- Social sharing widget -->
+ {{ partial "social-share.html" (dict "page" . "mode" "sidebar") }}
+
<!-- Related posts widget (articles only) -->
{{ if and .Site.Params.relatedPosts (eq .Type "articles") }}
{{ $related := first 5 (.Site.RegularPages.Related .) }}