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

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


The following commit(s) were added to refs/heads/master by this push:
     new b655fde17 Use shared images for consistency
b655fde17 is described below

commit b655fde17bc49eae86e6554a25586ba8f84ca4e1
Author: Bertrand Delacretaz <[email protected]>
AuthorDate: Thu Aug 28 13:58:32 2025 +0200

    Use shared images for consistency
---
 ARCHIVE/OLD-from-apache-cms/templates/skeleton.html |   4 ++--
 src/main/jbake/assets/res/css/site.css              |   6 ++++++
 src/main/jbake/assets/res/logos/apache.png          | Bin 12022 -> 0 bytes
 src/main/jbake/templates/logos.tpl                  |   4 ++--
 4 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/ARCHIVE/OLD-from-apache-cms/templates/skeleton.html 
b/ARCHIVE/OLD-from-apache-cms/templates/skeleton.html
index d77ce39ee..168febf18 100644
--- a/ARCHIVE/OLD-from-apache-cms/templates/skeleton.html
+++ b/ARCHIVE/OLD-from-apache-cms/templates/skeleton.html
@@ -31,9 +31,9 @@
           <img border="0" alt="Apache Sling" src="/res/logo.svg">
         </a>
       </div>
-      <div class="header">
+      <div class="header asf-logo">
         <a href="//www.apache.org/">
-          <img border="0" alt="Apache" src="/res/apache.png">
+          <img alt="Apache Software Foundation" 
src="https://apache.org/img/asf_logo.png";>
         </a>
       </div>
     </div>
diff --git a/src/main/jbake/assets/res/css/site.css 
b/src/main/jbake/assets/res/css/site.css
index 39395e5fc..636e38fea 100644
--- a/src/main/jbake/assets/res/css/site.css
+++ b/src/main/jbake/assets/res/css/site.css
@@ -162,3 +162,9 @@ ul.repolist {
 :root {
     --page-border-top-height: 5px;
 }
+
+.asf-logo img,
+.logo img {
+    height: 80px;
+    border: none;
+}
\ No newline at end of file
diff --git a/src/main/jbake/assets/res/logos/apache.png 
b/src/main/jbake/assets/res/logos/apache.png
deleted file mode 100644
index fc3f6677d..000000000
Binary files a/src/main/jbake/assets/res/logos/apache.png and /dev/null differ
diff --git a/src/main/jbake/templates/logos.tpl 
b/src/main/jbake/templates/logos.tpl
index ba7ac093c..960715f0f 100644
--- a/src/main/jbake/templates/logos.tpl
+++ b/src/main/jbake/templates/logos.tpl
@@ -4,8 +4,8 @@
             img(border:"0", alt:"Apache Sling", 
src:"${config.site_contextPath}res/logos/sling.svg")
         }
     }
-    div(class:"header") {
+    div(class:"header asf-logo") {
         a(href:"https://www.apache.org";) {
-            img(border:"0", alt:"Apache", 
src:"${config.site_contextPath}res/logos/apache.png")
+            img(alt:"Apache Software Foundation", 
src:"https://apache.org/img/asf_logo.png";)
         }
     }

Reply via email to