You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2023/03/29 15:54:54 UTC

[comdev-site] branch master updated: Drop Google search

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

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/comdev-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 6ca9083  Drop Google search
6ca9083 is described below

commit 6ca9083f95390607e1375349781360f6dd59fff7
Author: Sebb <se...@apache.org>
AuthorDate: Wed Mar 29 16:54:45 2023 +0100

    Drop Google search
---
 layouts/_default/baseof.html | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 8b33692..516c671 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -30,14 +30,6 @@
   <link href="/css/main.css" rel="stylesheet" media="screen">
   <link href="/css/bootstrap.min.css" rel="stylesheet" media="screen">
   <style type="text/css">
-      /* Google Search box customizations */
-      .gsc-search-box input.gsc-input, .gcse-search-box input.gsc-input:focus {
-          -webkit-box-shadow:none;
-          box-shadow:none;
-          -moz-box-shadow:none;
-          border-radius:0px;
-      }
-
       .footer {
           text-align:center;
           color:grey;
@@ -155,9 +147,6 @@
         <div class="col-md-9">
           <h3 class="mt-3 text-muted">The Apache Software Foundation</h3>
         </div>
-        <div class="col-md-3 pull-right">
-          <div class="gcse-search"></div>
-        </div>
         <div class="col-md-12"><h4 class="text-muted">Community &gt; Code</h4></div>
       </section>
       {{ partial "breadcrumbs.html" . }}
@@ -199,17 +188,5 @@
 
   <script src="/js/jquery-1.9.1.min.js"></script>
   <script src="/js/bootstrap.min.js"></script>
-  <script>
-    (function() {
-      var cx = '012254517474945470291:vhsfv7eokdc';
-      var gcse = document.createElement('script');
-      gcse.type = 'text/javascript';
-      gcse.async = true;
-      gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
-          '//www.google.com/cse/cse.js?cx=' + cx;
-      var s = document.getElementsByTagName('script')[0];
-      s.parentNode.insertBefore(gcse, s);
-    })();
-  </script>
 </body>
 </html>