From 42eb2f6e6dd5d057ac52784f4b80c14d4e9d346a Mon Sep 17 00:00:00 2001 From: guangmean Date: Mon, 24 Jun 2019 02:38:53 -0400 Subject: Add shareThis Support --- README.md | 4 ++++ layouts/partials/foot.html | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 75ca2b8..55cc996 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ description = "" copyright = "© 2019 by guangmean. All Rights Reserved." google_ad_client = "ca-pub-******" ga = "UA-******" +sharethis = "" [menu] [[menu.niello]] @@ -61,6 +62,9 @@ ga = "UA-******" # Google Adsense & Google Analytics Niello support Google Adsnese code by configure the google_ad_client param in [params] block and Google Analytics code by the ga param in the site config.toml as abover. +# ShareThis +Niello support share your content to other platforms by ShareThis. + # Demo A fully demo is available here: [https://www.angularcorp.com](https://www.angularcorp.com) diff --git a/layouts/partials/foot.html b/layouts/partials/foot.html index fd8c4e2..3d5f548 100644 --- a/layouts/partials/foot.html +++ b/layouts/partials/foot.html @@ -14,3 +14,7 @@ ga('create', '{{- .Site.Params.ga -}}', 'auto'); ga('send', 'pageview') {{ end }} + +{{ if .Site.Params.sharethis }} + +{{ end }} -- cgit v1.2.3