Skip to content

Commit

Permalink
Merge pull request #487 from dimpase/nomoretwitter
Browse files Browse the repository at this point in the history
Remove refs to Twitter
  • Loading branch information
dimpase authored Jan 20, 2025
2 parents 717d18d + 1225946 commit b82198e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 19 deletions.
1 change: 0 additions & 1 deletion src/library-press.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ <h1 class="narrow">Links</h1>
<div class="narrow txt">
<ul>
<li><a href="https://www.facebook.com/sagemathorg/">{{ sage }} Facebook group</a>,
<a href="https://twitter.com/sagemath">{{ sage }} Twitter page</a>.
<a rel="me" href="https://mathstodon.xyz/@sagemath">{{ sage }} Mastodon page</a>
<li><a href="./library-marketing.html">Marketing Material</a></li>
<li><a href="./library-stories.html">Quotes, Testimonials and Stories about {{ sage }}</a></li>
Expand Down
12 changes: 0 additions & 12 deletions src/res/sage.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,17 +149,6 @@ function initMathjax() {
head.appendChild(script);
}

/* Twitter */
function initTwitter(d,s,id){
var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';
if(!d.getElementById(id)){
js=d.createElement(s);
js.id=id;
js.src=p+'://platform.twitter.com/widgets.js';
fjs.parentNode.insertBefore(js,fjs);
}
}

/* facebook app */
//function initFacebook(d, s, id) {
// var js, fjs = d.getElementsByTagName(s)[0];
Expand Down Expand Up @@ -211,6 +200,5 @@ $(sage.touchMenu);
//$(sage.tracklinks);
$(initHistats);
$(initMathjax);
$(function() { initTwitter(document, 'script', 'twitter-wjs');});
//$(function() { initFacebook(document, 'script', 'facebook-jssdk');});
$(initClustermap);
5 changes: 0 additions & 5 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@

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

<td></td>

<td>
<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>
</td>
</tr>

<tr>
Expand Down
1 change: 0 additions & 1 deletion templates/mirror/backup.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@

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

0 comments on commit b82198e

Please sign in to comment.