You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ni...@apache.org on 2024/01/19 14:10:59 UTC

(cordova-docs) 01/05: fix license link & remove defunct slack & twitter integration

This is an automated email from the ASF dual-hosted git repository.

niklasmerz pushed a commit to branch whimsy-issues
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git

commit 75c6b29a1d17dd406f910dce198c94098b8ad982
Author: Niklas Merz <ni...@apache.org>
AuthorDate: Fri Jan 19 14:39:32 2024 +0100

    fix license link & remove defunct slack & twitter integration
---
 www/_includes/footer_contents.html |  5 ++---
 www/_includes/twitterFeed.html     | 20 --------------------
 www/blog/index.html                |  3 ---
 www/static/js/twitter.js           |  1 -
 4 files changed, 2 insertions(+), 27 deletions(-)

diff --git a/www/_includes/footer_contents.html b/www/_includes/footer_contents.html
index 74f052b2d2..cc0bd192d7 100644
--- a/www/_includes/footer_contents.html
+++ b/www/_includes/footer_contents.html
@@ -12,7 +12,7 @@
                         <a href="https://www.apache.org/dyn/closer.cgi/cordova">Source Distribution</a>
                     </li>
                     <li>
-                        <a target="_blank" href="https://www.apache.org/licenses/LICENSE-2.0">License</a>
+                        <a target="_blank" href="https://www.apache.org/licenses">License</a>
                     </li>
                     <li>
                         <a href="{{ site.baseurl }}/artwork">Artwork</a>
@@ -59,11 +59,10 @@
             Learn More
         </a>
         <p style="padding-top:20px"> <a href="https://twitter.com/apachecordova" class="twitter-follow-button" data-show-count="false">Follow @apachecordova</a></p>
-        <script async defer src="https://slack-cordova-io.herokuapp.com/slackin.js"></script>
     </div>
 </div>
 <p class="copyright_text">
-    Copyright &copy; {{ 'now' | date: "%Y" }} The Apache Software Foundation, Licensed under the <a target="_blank" href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/>
+    Copyright &copy; {{ 'now' | date: "%Y" }} The Apache Software Foundation, Licensed under the <a target="_blank" href="https://www.apache.org/licenses/">Apache License, Version 2.0</a>.<br/>
     Apache and the Apache feather logos are <a target="_blank" href="https://www.apache.org/foundation/marks/list/">trademarks</a> of The Apache Software Foundation.
     <br/>
     <p>See the <a href="{{ site.baseurl }}/attributions/">attributions page</a> for other copyright & trademark notices.</p>
diff --git a/www/_includes/twitterFeed.html b/www/_includes/twitterFeed.html
deleted file mode 100644
index 4c9e8e6153..0000000000
--- a/www/_includes/twitterFeed.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/apachecordova" data-widget-id="629424968011386884">Tweets by @apachecordova</a>
-
-<script>
-window.twttr = (function(d, s, id) {
-    var js, fjs = d.getElementsByTagName(s)[0],
-        t = window.twttr || {};
-    if (d.getElementById(id)) return t;
-    js = d.createElement(s);
-    js.id = id;
-    js.src = "https://platform.twitter.com/widgets.js";
-    fjs.parentNode.insertBefore(js, fjs);
-
-    t._e = [];
-    t.ready = function(f) {
-        t._e.push(f);
-    };
-
-    return t;
-}(document, "script", "twitter-wjs"));
-</script>
diff --git a/www/blog/index.html b/www/blog/index.html
index 2a1b63dcc5..d12923edc3 100644
--- a/www/blog/index.html
+++ b/www/blog/index.html
@@ -43,9 +43,6 @@ priority: 0.7
         </ul>
         <!-- <a target="_blank" href="http://feed1.w3.org/check.cgi?url={{ site.baseurl }}{{ site.rss_path }}"><img src="{{ site.baseurl }}/static/img/valid-rss-rogers.png" alt="[Valid RSS]" title="Validate my RSS feed" /></a> -->
     </div>
-    <div class="col-sm-4 social-container">
-        {% include twitterFeed.html %}
-    </div>
 </div>
 
 <script>
diff --git a/www/static/js/twitter.js b/www/static/js/twitter.js
deleted file mode 100644
index 113c7f6d6a..0000000000
--- a/www/static/js/twitter.js
+++ /dev/null
@@ -1 +0,0 @@
-!function(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);}}(document, 'script', 'twitter-wjs');


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org