🏗️ Finish post share widget coding.

This commit is contained in:
凡梦星尘
2022-06-04 21:07:43 +08:00
parent ebe60171af
commit 7a1e4b85bb
6 changed files with 10 additions and 3 deletions

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

View File

@@ -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" . }}