Merge pull request #138 from trib0r3/master

Add sharing buttons
This commit is contained in:
Djordje Atlialp 2020-07-02 10:09:12 +02:00 committed by GitHub
commit e88ee9d2af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View 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
-->

View file

@ -58,6 +58,13 @@
{{- end }}
</div>
{{- if .Site.Params.ShareButtons }}
<hr />
<div id="sharebuttons" class="thin">
{{ partial "sharingbuttons.html" . }}
</div>
{{- end }}
{{ if and (not $.Site.Params.DisableReadOtherPosts) (or .NextInSection .PrevInSection) }}
<div class="pagination">
<div class="pagination__title">