diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-17 16:36:50 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-17 16:36:50 +0200 |
| commit | e3abd8c17d61f821d46d03224e400f81232bbaaa (patch) | |
| tree | fcb217d12c36eb37efb33da50d986064d885fccb | |
| parent | 09bf24e83154aba8e0ed8178cebdeac16553e990 (diff) | |
| download | danixxyz-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.html | 3 |
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 .) }} |
