Skip to content

Commit b82198e

Browse files
authored
Merge pull request #487 from dimpase/nomoretwitter
Remove refs to Twitter
2 parents 717d18d + 1225946 commit b82198e

File tree

4 files changed

+0
-19
lines changed

4 files changed

+0
-19
lines changed

src/library-press.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ <h1 class="narrow">Links</h1>
168168
<div class="narrow txt">
169169
<ul>
170170
<li><a href="https://www.facebook.com/sagemathorg/">{{ sage }} Facebook group</a>,
171-
<a href="https://twitter.com/sagemath">{{ sage }} Twitter page</a>.
172171
<a rel="me" href="https://mathstodon.xyz/@sagemath">{{ sage }} Mastodon page</a>
173172
<li><a href="./library-marketing.html">Marketing Material</a></li>
174173
<li><a href="./library-stories.html">Quotes, Testimonials and Stories about {{ sage }}</a></li>

src/res/sage.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -149,17 +149,6 @@ function initMathjax() {
149149
head.appendChild(script);
150150
}
151151

152-
/* Twitter */
153-
function initTwitter(d,s,id){
154-
var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';
155-
if(!d.getElementById(id)){
156-
js=d.createElement(s);
157-
js.id=id;
158-
js.src=p+'://platform.twitter.com/widgets.js';
159-
fjs.parentNode.insertBefore(js,fjs);
160-
}
161-
}
162-
163152
/* facebook app */
164153
//function initFacebook(d, s, id) {
165154
// var js, fjs = d.getElementsByTagName(s)[0];
@@ -211,6 +200,5 @@ $(sage.touchMenu);
211200
//$(sage.tracklinks);
212201
$(initHistats);
213202
$(initMathjax);
214-
$(function() { initTwitter(document, 'script', 'twitter-wjs');});
215203
//$(function() { initFacebook(document, 'script', 'facebook-jssdk');});
216204
$(initClustermap);

templates/base.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@
7373

7474
<a href="https://www.facebook.com/pages/Sage-Math/26593144945">
7575
<img alt="F" src="{{ 'pix/facebook-favicon.ico'|prefix }}" width="16" height="16" /></a>
76-
<a href="https://twitter.com/sagemath">
77-
<img alt="T" src="{{ 'pix/twitter-favicon.ico'|prefix }}" width="16" height="16"/></a>
7876
<a href="https://mathstodon.xyz/@sagemath">
7977
<img alt="T" src="{{ 'pix/mastodon-favicon.ico'|prefix }}" width="16" height="16"/></a>
8078
{%- endblock -%}
@@ -234,9 +232,6 @@
234232

235233
<td></td>
236234

237-
<td>
238-
<a href="https://twitter.com/share" class="twitter-share-button" data-url="https://sagemath.org" data-text="I like @sagemath" data-related="sagemath">Tweet</a>
239-
</td>
240235
</tr>
241236

242237
<tr>

templates/mirror/backup.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@
103103

104104
<li>Visit us in the sphere of social networks:</li>
105105
<ul>
106-
<li><a href="https://twitter.com/sagemath">Twitter</a></li>
107106
<li><a href="https://mathstodon.xyz/@sagemath">Mastodon</a></li>
108107
<li><a href="https://www.facebook.com/pages/Sage-Math/26593144945">Facebook</a></li>
109108
</ul>

0 commit comments

Comments
 (0)