🏗️ Finish post share widget coding.
This commit is contained in:
5
layouts/partials/_thirdparty/share/addthis.html
vendored
Normal file
5
layouts/partials/_thirdparty/share/addthis.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{{- with .Site.Params.addThisId }}
|
||||
<div class="addthis_inline_share_toolbox" style="text-align: center;">
|
||||
<script src="//s7.addthis.com/js/300/addthis_widget.js#pubid={{ . }}" async="async"></script>
|
||||
</div>
|
||||
{{- end }}
|
||||
@@ -10,6 +10,7 @@
|
||||
<div class="post-eof"></div>
|
||||
{{- else }}
|
||||
{{ partial "post/post_footer/tags.html" . }}
|
||||
{{ partial "_thirdparty/share/addthis.html" . }}
|
||||
<hr/>
|
||||
{{ partial "post/post_footer/reward.html" . }}
|
||||
{{ partial "post/post_footer/copyright.html" . }}
|
||||
|
||||
Reference in New Issue
Block a user