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

wgtmac pushed a commit to branch production
in repository https://gitbox.apache.org/repos/asf/parquet-site.git


The following commit(s) were added to refs/heads/production by this push:
     new 7b4aac2  fix: Add compliant ASF footer with all required policy links 
(#176)
7b4aac2 is described below

commit 7b4aac2c5a8be7836f19d5007ebccefba7de0da6
Author: Rich Bowen <[email protected]>
AuthorDate: Sat May 9 03:27:50 2026 -0400

    fix: Add compliant ASF footer with all required policy links (#176)
    
    The Parquet site was failing 8 of 9 Whimsy compliance checks
    (https://whimsy.apache.org/site/). This PR:
    
    1. Fixes hugo.toml — changes privacy_policy URL from Google's
       privacy policy to the official ASF privacy policy.
    
    2. Adds layouts/partials/footer.html — overrides the Docsy theme's
       default footer with a fully ASF-compliant footer including:
       - Copyright with Apache Software Foundation attribution
       - Trademark statement for Apache Parquet
       - All required ASF policy links (Security, Donate, Thanks,
         Events, License, Privacy)
       - ASF feather logo linking to apache.org
    
    References:
    - ASF Website Policy: https://www.apache.org/foundation/marks/pmcs
    - Compliance checker: https://whimsy.apache.org/site/
---
 hugo.toml                    |  2 +-
 layouts/partials/footer.html | 48 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 1 deletion(-)

diff --git a/hugo.toml b/hugo.toml
index 9938313..005190e 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -71,7 +71,7 @@ section = ["HTML", "print", "RSS"]
 
 [params]
 copyright = "Apache Parquet"
-privacy_policy = "https://policies.google.com/privacy";
+privacy_policy = 
"https://privacy.apache.org/policies/privacy-policy-public.html";
 
 # First one is picked as the Twitter card image if not set on page.
 # images = ["images/project-illustration.png"]
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
new file mode 100644
index 0000000..0a5e1f0
--- /dev/null
+++ b/layouts/partials/footer.html
@@ -0,0 +1,48 @@
+<footer class="td-footer row d-print-none">
+  <div class="container-fluid">
+    <div class="row align-items-center">
+
+      {{/* Left: social/community links (kept from existing config) */}}
+      <div class="col-12 col-md-3 text-center text-md-start">
+        <div class="td-footer__social-icons">
+          {{ with .Site.Params.links }}
+            {{ range .user }}
+              <a href="{{ .url }}" target="_blank" rel="noopener" 
aria-label="{{ .name }}" class="td-footer__social-link">
+                <i class="{{ .icon }}"></i>
+              </a>
+            {{ end }}
+          {{ end }}
+        </div>
+      </div>
+
+      {{/* Center: copyright, trademarks, and policy links */}}
+      <div class="col-12 col-md-6 text-center">
+        <div class="td-footer__copyright">
+          The contents of this website are &copy;&nbsp;{{ now.Year 
}}&nbsp;Apache Software Foundation
+          under the terms of the
+          <a href="https://www.apache.org/licenses/LICENSE-2.0"; 
target="_blank" rel="noopener">Apache License v2</a>.
+          Apache Parquet, Parquet, and the Parquet logo are either registered 
trademarks or trademarks of
+          The Apache Software Foundation in the United States and other 
countries.
+        </div>
+        <div class="td-footer__links mt-2">
+          <a href="https://www.apache.org/security/"; target="_blank" 
rel="noopener">Security</a> |
+          <a href="https://www.apache.org/foundation/sponsorship.html"; 
target="_blank" rel="noopener">Donate</a> |
+          <a href="https://www.apache.org/foundation/thanks.html"; 
target="_blank" rel="noopener">Thanks</a> |
+          <a href="https://www.apache.org/events/current-event.html"; 
target="_blank" rel="noopener">Events</a> |
+          <a href="https://www.apache.org/licenses/"; target="_blank" 
rel="noopener">License</a> |
+          <a 
href="https://privacy.apache.org/policies/privacy-policy-public.html"; 
target="_blank" rel="noopener">Privacy</a>
+        </div>
+      </div>
+
+      {{/* Right: ASF feather logo */}}
+      <div class="col-12 col-md-3 text-center text-md-end">
+        <a href="https://www.apache.org/"; target="_blank" rel="noopener" 
class="asf-logo-link">
+          <img 
src="https://www.apache.org/foundation/press/kit/asf_logo_url.png";
+               alt="The Apache Software Foundation"
+               style="max-height: 60px;">
+        </a>
+      </div>
+
+    </div>
+  </div>
+</footer>

Reply via email to