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

cfnatali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit e660e9782baa3dc9dadbc7f5a397aec28c9c1f60
Author: Dave Lester <[email protected]>
AuthorDate: Fri Apr 29 21:10:33 2022 -0700

    Removes embeds from website: Google Analytics, social share buttons, and 
remote images.
---
 docs/home.md                  | 27 ++++++---------------------
 site/source/community.html.md |  5 -----
 site/source/layouts/basic.erb | 37 ++-----------------------------------
 site/source/layouts/post.erb  | 22 ----------------------
 4 files changed, 8 insertions(+), 83 deletions(-)

diff --git a/docs/home.md b/docs/home.md
index ebcd594bf..23b09a7e2 100644
--- a/docs/home.md
+++ b/docs/home.md
@@ -131,33 +131,18 @@ layout: documentation
 
 <div class="row">
   <div class="col-xs-6 col-md-4">
-    <a 
href="https://www.packtpub.com/big-data-and-business-intelligence/apache-mesos-cookbook";
 class="thumbnail">
-      <img 
src="https://d255esdrn735hr.cloudfront.net/sites/default/files/imagecache/ppv4_main_book_cover/9781785884627.png";
 alt="Apache Mesos Cookbook by David Blomquist, Tomasz Janiszewski">
-    </a>
-    <p class="text-center">Apache Mesos Cookbook by David Blomquist, Tomasz 
Janiszewski (Packt, August 2017)</p>
+    <p class="text-center"><a 
href="https://www.packtpub.com/big-data-and-business-intelligence/apache-mesos-cookbook";>Apache
 Mesos Cookbook by David Blomquist, Tomasz Janiszewski</a> (Packt, August 
2017)</p>
   </div>
   <div class="col-xs-6 col-md-4">
-    <a href="https://www.manning.com/books/mesos-in-action"; class="thumbnail">
-      <img 
src="https://images.manning.com/255/340/resize/book/d/62f5c9b-0946-4569-ad50-ffdb84876ddc/Ignazio-Mesos-HI.png";
 alt="Mesos in Action by Roger Ignazio">
-    </a>
-    <p class="text-center">Mesos in Action by Roger Ignazio (Manning, 2016)</p>
+    <p class="text-center"><a 
href="https://www.manning.com/books/mesos-in-action";>Mesos in Action by Roger 
Ignazio</a> (Manning, 2016)</p>
   </div>
   <div class="col-xs-6 col-md-4">
-    <a 
href="https://www.packtpub.com/big-data-and-business-intelligence/mastering-mesos";
 class="thumbnail">
-      <img 
src="https://www.packtpub.com/sites/default/files/6249OS_5186%20Mastering%20Mesos.jpg";
 alt="Mastering Mesos by Dipa Dubhashi and Akhil Das">
-    </a>
-    <p class="text-center">Mastering Mesos by Dipa Dubhashi and Akhil Das 
(Packt, 2016)</p>
+    <p class="text-center"><a 
href="https://www.packtpub.com/big-data-and-business-intelligence/mastering-mesos";>Mastering
 Mesos by Dipa Dubhashi and Akhil Das</a> (Packt, 2016)</p>
   </div>
   <div class="col-xs-6 col-md-4">
-    <a 
href="https://www.packtpub.com/big-data-and-business-intelligence/apache-mesos-essentials";
 class="thumbnail">
-      <img 
src="https://www.packtpub.com/sites/default/files/9781783288762.png"; 
alt="Apache Mesos Essentials by Dharmesh Kakadia">
-    </a>
-    <p class="text-center">Apache Mesos Essentials by Dharmesh Kakadia (Packt, 
2015)</p>
+    <p class="text-center"><a 
href="https://www.packtpub.com/big-data-and-business-intelligence/apache-mesos-essentials";>Apache
 Mesos Essentials by Dharmesh Kakadia</a> (Packt, 2015)</p>
   </div>
   <div class="col-xs-6 col-md-4">
-    <a href="http://shop.oreilly.com/product/0636920039952.do"; 
class="thumbnail">
-      <img src="http://akamaicovers.oreilly.com/images/0636920039952/lrg.jpg"; 
alt="Building Applications on Mesos by David Greenberg">
-    </a>
-    <p class="text-center">Building Applications on Mesos by David Greenberg 
(O'Reilly, 2015)</p>
+    <p class="text-center"><a 
href="http://shop.oreilly.com/product/0636920039952.do"; 
class="thumbnail">Building Applications on Mesos by David Greenberg</a> 
(O'Reilly, 2015)</p>
   </div>
-</div>
+</div>
\ No newline at end of file
diff --git a/site/source/community.html.md b/site/source/community.html.md
index 19083bbf3..471e1dfe3 100644
--- a/site/source/community.html.md
+++ b/site/source/community.html.md
@@ -167,11 +167,6 @@ layout: community_section
             </td>
           </tr>
         </table>
-
-
         </p>
-
-    <h3 name="calendar">Events Calendar</h3>
-    <iframe 
src="https://calendar.google.com/calendar/embed?src=2hecvndc0mnaqlir34cqnfvtak%40group.calendar.google.com";
 style="border: 0" width="100%" height="600" frameborder="0" 
scrolling="no"></iframe>
   </div>
 </div>
diff --git a/site/source/layouts/basic.erb b/site/source/layouts/basic.erb
index b562ac6fc..e9e7c8952 100644
--- a/site/source/layouts/basic.erb
+++ b/site/source/layouts/basic.erb
@@ -33,19 +33,6 @@
     <link rel="canonical" href="<%= current_page.data.canonical_url %>">
     <% end %>
 
-    <!-- Google Analytics Magic -->
-    <script type="text/javascript">
-    var _gaq = _gaq || [];
-    _gaq.push(['_setAccount', 'UA-20226872-1']);
-    _gaq.push(['_setDomainName', 'apache.org']);
-    _gaq.push(['_trackPageview']);
-
-    (function() {
-      var ga = document.createElement('script'); ga.type = 'text/javascript'; 
ga.async = true;
-      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
-      var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
-    })();
-    </script>
     <% if content_for?(:javascript) %>
       <%= yield_content :javascript %>
     <% end %>
@@ -88,28 +75,8 @@
     <div class="footer">
       <div class="container">
 
-        <div class="col-md-3">
-            <a  href="https://www.apache.org/events/current-event.html";>
-              <img 
src="https://www.apache.org/events/current-event-234x60.png"/>
-            </a>
-        </div>
-
-        <div class="col-md-3 social-blk">
-          <span class="social">
-            <a href="https://twitter.com/ApacheMesos";
-              class="twitter-follow-button"
-              data-show-count="false" data-size="large">Follow @ApacheMesos</a>
-            <script>!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');</script>
-            <a href="https://twitter.com/intent/tweet?button_hashtag=mesos";
-              class="twitter-hashtag-button"
-              data-size="large"
-              data-related="ApacheMesos">Tweet #mesos</a>
-            <script>!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');</script>
-          </span>
-        </div>
-
-        <div class="col-md-6 trademark">
-          <p>&copy; 2012-2020 <a href="http://apache.org";>The Apache Software 
Foundation</a>.
+        <div class="col-md-12 trademark">
+          <p>&copy; 2012-2022 <a href="http://apache.org";>The Apache Software 
Foundation</a>.
             Apache Mesos, the Apache feather logo, and the Apache Mesos 
project logo are trademarks of The Apache Software Foundation.
           <p>
         </div>
diff --git a/site/source/layouts/post.erb b/site/source/layouts/post.erb
index 1c04b46f6..48af83efc 100644
--- a/site/source/layouts/post.erb
+++ b/site/source/layouts/post.erb
@@ -20,28 +20,6 @@ Blog
       </span>
       <p><em>Posted <%= current_article.date.strftime("%B %e, %Y")  %></em></p>
     </div>
-
-    <div class="share">
-      <span class="social-share-button"><a href="https://twitter.com/share"; 
class="twitter-share-button" data-via="apachemesos">Tweet</a></span>
-
-      <span><script>!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');</script></span>
-
-      <span><div class="g-plusone" data-size="medium"></div></span>
-
-      <!-- Place this tag after the last +1 button tag. -->
-      <script type="text/javascript">
-        (function() {
-        var po = document.createElement('script'); po.type = 
'text/javascript'; po.async = true;
-        po.src = 'https://apis.google.com/js/plusone.js';
-        var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(po, s);
-        })();
-      </script>
-
-      <script src="//platform.linkedin.com/in.js" type="text/javascript">
-       lang: en_US
-      </script>
-      <script type="IN/Share" data-counter="right"></script>
-    </div>
   </div>
 
   <div class="post col-md-9">

Reply via email to