diff options
-rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | layouts/partials/addthis.html | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index e930308..6a289f9 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -31,5 +31,7 @@ {{ partial "footer" . }} </div> {{ end }} + + {{ partial "addthis" . }} </body> </html> diff --git a/layouts/partials/addthis.html b/layouts/partials/addthis.html new file mode 100644 index 0000000..8803ffa --- /dev/null +++ b/layouts/partials/addthis.html @@ -0,0 +1,4 @@ +<!-- Go to www.addthis.com/dashboard to customize your tools --> +{{ if .Site.Params.addthis }} + <script type="text/javascript" src="https://s7.addthis.com/js/300/addthis_widget.js#pubid={{ .Site.Params.addthis }}" async></script> +{{ end }} |