Skip to content

Commit 2401b1b

Browse files
committed
Remove G+ buttons due to shutdown
1 parent 4e36547 commit 2401b1b

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

app/views/shared/_social_buttons.html.haml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,3 @@
99
%a.hatena-bookmark-button{"data-hatena-bookmark-lang" => "ja", "data-hatena-bookmark-layout" => "basic", "data-hatena-bookmark-title" => "#{full_title(yield(:title))}", :href => "#{full_url(yield(:url))}", :title => "このエントリーをはてなブックマークに追加"}
1010
%img{:alt => "このエントリーをはてなブックマークに追加", :height => "20", :src => "https://b.st-hatena.com/images/entry-button/button-only@2x.png", :style => "border: none;", :width => "20"}/
1111
%script{:async => "async", :charset => "utf-8", :src => "https://b.st-hatena.com/js/bookmark_button.js", :type => "text/javascript"}
12-
%li{:style => "display: inline-block;"}
13-
.g-plusone{"data-lang" => "ja", "data-size" => "medium"}
14-
:javascript
15-
(function() {
16-
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
17-
po.src = 'https://apis.google.com/js/plusone.js';
18-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
19-
})();

app/views/shared/_social_buttons_book.html.haml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,3 @@
2121
%a.hatena-bookmark-button{"data-hatena-bookmark-lang" => "ja", "data-hatena-bookmark-layout" => "standard-balloon", "data-hatena-bookmark-title" => "CoderDojo Japan - コーダー道場ジャパン", :href => "https://b.hatena.ne.jp/entry/coderdojo.jp/sotechsha", :title => "このエントリーをはてなブックマークに追加"}
2222
%img{:alt => "このエントリーをはてなブックマークに追加", :height => "20", :src => "https://b.st-hatena.com/images/entry-button/button-only@2x.png", :style => "border: none;", :width => "20"}/
2323
%script{:async => "async", :charset => "utf-8", :src => "https://b.st-hatena.com/js/bookmark_button.js", :type => "text/javascript"}
24-
%li
25-
.g-plusone{"data-lang" => "ja", "data-size" => "medium"}
26-
:javascript
27-
(function() {
28-
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
29-
po.src = 'https://apis.google.com/js/plusone.js';
30-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
31-
})();

0 commit comments

Comments
 (0)