feat: add share buttons above article content (#233)
Duplicate the share button block to appear after the report shortcuts and before the main article content, making it easier to share right after reading the TL;DR summary. Co-authored-by: Copilot <copilot@github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Juan Manuel Servera committed
Jun 1, 2026 at 19:47 UTC
758d432276d645ea44b215df57967fb5210c403f
1 file changed
+4
layouts/weekly/single.html
+4
@@ -18,6 +18,10 @@
18
19
{{ partial "report-shortcuts.html" . }}
20
21
+ {{- if (and site.Params.ShowShareButtons (ne .Params.disableShare true)) }}
22
+ {{- partial "share_icons.html" . -}}
23
+ {{- end }}
24
+
25
<div class="post-content md-content article-content">
26
{{ partial "article-content.html" . }}
27
</div>