Add support for sharing buttons
This commit is contained in:
parent
460fb414b2
commit
5798663cfa
2 changed files with 10 additions and 0 deletions
3
layouts/partials/sharingbuttons.html
Normal file
3
layouts/partials/sharingbuttons.html
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<!--
|
||||||
|
Placeholder for Sharebuttons, if you want to use it just create partials/sharingbuttons.html with generated one from https://sharingbuttons.io/ and add custom css in /static/style.css
|
||||||
|
-->
|
|
@ -37,6 +37,13 @@
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
{{- if .Site.Params.ShareButtons }}
|
||||||
|
<hr />
|
||||||
|
<div id="sharebuttons" class="thin">
|
||||||
|
{{ partial "sharingbuttons.html" . }}
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
<div class="post-info">
|
<div class="post-info">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue