You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by ad...@apache.org on 2022/05/19 12:25:44 UTC

[ratis] branch asf-site-source updated: RATIS-1568. Add a link to the new ASF privacy policy. (#649)

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

adoroszlai pushed a commit to branch asf-site-source
in repository https://gitbox.apache.org/repos/asf/ratis.git


The following commit(s) were added to refs/heads/asf-site-source by this push:
     new 47f0dfc3 RATIS-1568. Add a link to the new ASF privacy policy. (#649)
47f0dfc3 is described below

commit 47f0dfc3a85fb0dcc261ae91b1c74a9a722e38d5
Author: Tsz-Wo Nicholas Sze <sz...@apache.org>
AuthorDate: Thu May 19 20:25:40 2022 +0800

    RATIS-1568. Add a link to the new ASF privacy policy. (#649)
---
 layouts/_default/list.html   | 2 +-
 layouts/index.html           | 2 +-
 layouts/partials/header.html | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 6870298d..dd8ce921 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -20,7 +20,7 @@
     <h1 id="title">{{ .Title }} Archive</h1>
         <ul id="list">
             {{ range $paginator.Pages }}
-            <h1><a href="{{.URL}}">{{.Title}}</a></h1>
+            <h1><a href="{{.RelPermalink}}">{{.Title}}</a></h1>
             <p><small>{{dateFormat "2006 Jan 2 " .Date}}</small></p>
 
             {{.Content}}
diff --git a/layouts/index.html b/layouts/index.html
index 0e13535e..260e6900 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -84,7 +84,7 @@
         <div class="row header">
             <h2>Latest news</h2>
             {{ range where .Data.Pages "Section" "post" }}
-            <div class="panel-heading clearfix"><a class="pull-left" href="{{.URL}}">{{.Title}}</a>
+            <div class="panel-heading clearfix"><a class="pull-left" href="{{.RelPermalink}}">{{.Title}}</a>
                 <small class="pull-right">{{dateFormat "2006 Jan 2 " .Date}}</small>
             </div>
             {{end}}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index dfc07ada..66d00111 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -53,6 +53,7 @@
                 <li><a href="https://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
                 <li><a href="https://www.apache.org/foundation/thanks.html">Thanks</a></li>
                 <li><a href="https://www.apache.org/security/">Security</a></li>
+                <li><a href="https://privacy.apache.org/policies/privacy-policy-public.html">Privacy</a></li>
             </ul>
         </div>
     </div>