diff options
author | Humberto Rocha <humrochagf@gmail.com> | 2019-08-02 18:09:52 +0300 |
---|---|---|
committer | Humberto Rocha <humrochagf@gmail.com> | 2019-08-02 18:09:52 +0300 |
commit | 5aef865c8087c679eacba368ea1cdf60d83a2e3d (patch) | |
tree | c3031efff6de59aaffce2b43190e531288966c53 /layouts | |
parent | 39a84bde688d44714a66266ebb431ce248553397 (diff) |
Add addthis
Diffstat (limited to 'layouts')
-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 }} |