Remove Google Plus social and share links

Google is closing Google Plus for consumers in August 2019. RIP Google+
This commit is contained in:
vimux 2018-11-30 15:39:14 -05:00
parent 9c67e4c2cb
commit 205da237b2
No known key found for this signature in database
GPG key ID: 5A34FDC4EE832E34
4 changed files with 0 additions and 13 deletions

View file

@ -107,7 +107,6 @@ googleAnalytics = "" # Enable Google Analytics by entering your tracking id
facebook = "username"
twitter = "username"
telegram = "username"
googleplus = "profileid"
instagram = "username"
pinterest = "username"
vk = "username"
@ -124,7 +123,6 @@ googleAnalytics = "" # Enable Google Analytics by entering your tracking id
reddit = true
telegram = true
linkedin = true
googleplus = true
vk = true
pocket = true

View file

@ -20,11 +20,6 @@
{{ partial "svg/telegram.svg" (dict "class" "social__icon" ) }}
</a>
{{- end }}
{{- with .Param "social.googleplus" }}
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://plus.google.com/{{ . }}">
{{ partial "svg/googleplus.svg" (dict "class" "social__icon" ) }}
</a>
{{- end }}
{{- with .Param "social.instagram" }}
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://www.instagram.com/{{ . }}">
{{ partial "svg/instagram.svg" (dict "class" "social__icon" ) }}

View file

@ -25,11 +25,6 @@
{{ partial "svg/linkedin.svg" (dict "class" "share__icon" ) }}
</a>
{{- end }}
{{- if .Param "share.googleplus" }}
<a class="share__link btn" title="{{ T "share-caption" }} Google+" href="https://plus.google.com/share?url={{ .Permalink }}" target="_blank" rel="noopener noreferrer" onclick="window.open(this.href, '{{ T "share-caption" }} Google+', 'width=640,height=480,toolbar=0,status=0'); return false">
{{ partial "svg/googleplus.svg" (dict "class" "share__icon" ) }}
</a>
{{- end }}
{{- if .Param "share.vk" }}
<a class="share__link btn" title="{{ T "share-caption" }} VK" href="https://vk.com/share.php?url={{ .Permalink }}" target="_blank" rel="noopener noreferrer" onclick="window.open(this.href, '{{ T "share-caption" }} VK', 'width=640,height=480,toolbar=0,status=0'); return false">
{{ partial "svg/vk.svg" (dict "class" "share__icon" ) }}

View file

@ -1 +0,0 @@
<svg class="{{ .class }}" aria-label="Google+" role="img" width="32" height="32" viewBox="0 0 512 512"><path d="M191 234v47h72c-2 19-21 55-72 55-43 0-78-36-78-80s33-80 76-80c25 0 42 10 51 19l35-33a125 125 0 0 0-211 94c0 70 57 127 127 127 74 0 122-53 122-125l-2-24"/><path stroke-width="29" d="M404 192v118m59-59H345"/></svg>

Before

Width:  |  Height:  |  Size: 324 B