diff options
author | Dylan Thomas <dylan.thomas@gmail.com> | 2020-10-04 10:37:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-04 10:37:49 +0300 |
commit | d59e88c2311fd99545314ecbe864bb2180ee0f57 (patch) | |
tree | 2715a8852e9cbb19b84afe590579355adae2d10a | |
parent | 100279db2dba63b45ed6214c13860b264aa5ab8b (diff) |
Issue 94 remove googleplus (#95)v0.5.0
* removed google plus references
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | exampleSite/config.yml | 3 | ||||
-rw-r--r-- | layouts/partials/post-footer.html | 7 |
3 files changed, 3 insertions, 10 deletions
@@ -69,7 +69,7 @@ privacy: author: name: My Name - profile: "https://google.com/+XXX" + profile: "" taxonomies: tag: tags @@ -91,7 +91,6 @@ params: shareTwitter: true rss: true shareFacebook: true - shareGooglePlus: true shareLinkedIn: false dateFormat: "Mon, Jan 2, 2006" exponeaJsUrl: "" diff --git a/exampleSite/config.yml b/exampleSite/config.yml index 8fcfc34..91e9489 100644 --- a/exampleSite/config.yml +++ b/exampleSite/config.yml @@ -29,7 +29,7 @@ privacy: author: name: My Name - profile: "https://google.com/+XXX" + profile: "" taxonomies: tag: tags @@ -51,7 +51,6 @@ params: shareTwitter: true rss: true shareFacebook: true - shareGooglePlus: true shareLinkedIn: false dateFormat: "Mon, Jan 2, 2006" exponeaJsUrl: "" diff --git a/layouts/partials/post-footer.html b/layouts/partials/post-footer.html index 6969367..21b2220 100644 --- a/layouts/partials/post-footer.html +++ b/layouts/partials/post-footer.html @@ -25,12 +25,7 @@ </a> {{ end }} - {{ if .Site.Params.shareGooglePlus }} - <a class="icon-google-plus" href="https://plus.google.com/share?url={{ .Permalink }}" - onclick="window.open(this.href, 'google-plus-share', 'width=490,height=530');return false;" aria-label="Share on Google+"> - <i class="fa fa-google-plus" aria-hidden="true"></i> - </a> - {{ end }} + {{ if .Site.Params.shareLinkedIn }} <a class="icon-linkedin" href="https://www.linkedin.com/shareArticle?mini=true&title={{ .Title }}&url={{ .Permalink }}&summary={{ .Description }}" onclick="window.open(this.href, 'linkedin-share', 'width=554,height=481');return false;" aria-label="Share on LinkedIn"> |