Skip to content

Commit

Permalink
Issue 94 remove googleplus (#95)
Browse files Browse the repository at this point in the history
* removed google plus references
  • Loading branch information
dylanhthomas committed Oct 4, 2020
1 parent 100279d commit d59e88c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -69,7 +69,7 @@ privacy:

author:
name: My Name
profile: "https://google.com/+XXX"
profile: ""

taxonomies:
tag: tags
Expand All @@ -91,7 +91,6 @@ params:
shareTwitter: true
rss: true
shareFacebook: true
shareGooglePlus: true
shareLinkedIn: false
dateFormat: "Mon, Jan 2, 2006"
exponeaJsUrl: ""
Expand Down
3 changes: 1 addition & 2 deletions exampleSite/config.yml
Expand Up @@ -29,7 +29,7 @@ privacy:

author:
name: My Name
profile: "https://google.com/+XXX"
profile: ""

taxonomies:
tag: tags
Expand All @@ -51,7 +51,6 @@ params:
shareTwitter: true
rss: true
shareFacebook: true
shareGooglePlus: true
shareLinkedIn: false
dateFormat: "Mon, Jan 2, 2006"
exponeaJsUrl: ""
Expand Down
7 changes: 1 addition & 6 deletions layouts/partials/post-footer.html
Expand Up @@ -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">
Expand Down

0 comments on commit d59e88c

Please sign in to comment.