Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/humrochagf/colordrop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHumberto Rocha <humrochagf@gmail.com>2019-08-02 18:09:52 +0300
committerHumberto Rocha <humrochagf@gmail.com>2019-08-02 18:09:52 +0300
commit5aef865c8087c679eacba368ea1cdf60d83a2e3d (patch)
treec3031efff6de59aaffce2b43190e531288966c53 /layouts
parent39a84bde688d44714a66266ebb431ce248553397 (diff)
Add addthis
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--layouts/partials/addthis.html4
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 }}