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

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


The following commit(s) were added to refs/heads/master by this push:
     new 2a155eb  HDDS-8516. Remove link to documentation for old releases (#39)
2a155eb is described below

commit 2a155eb37e6679e9dd5b1bd49ce553bb65c2f580
Author: krishnaasawa1 <[email protected]>
AuthorDate: Thu May 18 13:39:30 2023 +0530

    HDDS-8516. Remove link to documentation for old releases (#39)
---
 content/release/0.2.1-alpha.md | 1 +
 content/release/0.3.0-alpha.md | 1 +
 content/release/0.4.0-alpha.md | 1 +
 content/release/0.4.1-alpha.md | 1 +
 content/release/0.5.0-beta.md  | 1 +
 layouts/release/single.html    | 8 ++++++--
 6 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/content/release/0.2.1-alpha.md b/content/release/0.2.1-alpha.md
index 15c52a5..709f212 100644
--- a/content/release/0.2.1-alpha.md
+++ b/content/release/0.2.1-alpha.md
@@ -2,6 +2,7 @@
 title: Release 0.2.1-alpha available
 date: 2018-10-01
 hadoop: true
+supported: false
 ---
 <!---
   Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/content/release/0.3.0-alpha.md b/content/release/0.3.0-alpha.md
index 5b3a260..06ae9ee 100644
--- a/content/release/0.3.0-alpha.md
+++ b/content/release/0.3.0-alpha.md
@@ -2,6 +2,7 @@
 title: Release 0.3.0-alpha available
 date: 2018-11-22
 hadoop: true
+supported: false
 ---
 <!---
   Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/content/release/0.4.0-alpha.md b/content/release/0.4.0-alpha.md
index d243d34..74f30c4 100644
--- a/content/release/0.4.0-alpha.md
+++ b/content/release/0.4.0-alpha.md
@@ -2,6 +2,7 @@
 title: Release 0.4.0-alpha available
 date: 2019-05-07
 hadoop: true
+supported: false
 ---
 <!---
   Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/content/release/0.4.1-alpha.md b/content/release/0.4.1-alpha.md
index 8f1f51d..59b0287 100644
--- a/content/release/0.4.1-alpha.md
+++ b/content/release/0.4.1-alpha.md
@@ -2,6 +2,7 @@
 title: Release 0.4.1-alpha available
 date: 2019-10-13
 hadoop: true
+supported: false
 ---
 <!---
   Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/content/release/0.5.0-beta.md b/content/release/0.5.0-beta.md
index e977918..a8f3244 100644
--- a/content/release/0.5.0-beta.md
+++ b/content/release/0.5.0-beta.md
@@ -2,6 +2,7 @@
 title: Release 0.5.0-beta available
 date: 2020-03-24
 hadoop: true
+supported: false
 ---
 <!---
   Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/layouts/release/single.html b/layouts/release/single.html
index 29b0f77..621157b 100644
--- a/layouts/release/single.html
+++ b/layouts/release/single.html
@@ -34,8 +34,10 @@
            (<a 
href="https://downloads.apache.org/hadoop/ozone/ozone-{{.File.BaseFileName 
}}/hadoop-ozone-{{.File.BaseFileName }}-src.tar.gz.mds">checksum</a>
            <a 
href="https://downloads.apache.org/hadoop/ozone/ozone-{{.File.BaseFileName 
}}/hadoop-ozone-{{.File.BaseFileName }}-src.tar.gz.asc">signature</a>)
        </p>
-       <p><a href="https://hadoop.apache.org/ozone/docs/{{.File.BaseFileName 
}}" class="btn btn-primary">Documentation</a>
+        {{ if ne .Params.supported false }}
+            <p><a 
href="https://hadoop.apache.org/ozone/docs/{{.File.BaseFileName }}" class="btn 
btn-primary">Documentation</a>
        </p>
+        {{end}}
     {{else}}
        <p>
            <a 
href="https://www.apache.org/dyn/closer.cgi/ozone/{{.File.BaseFileName 
}}/ozone-{{.File.BaseFileName }}.tar.gz"
@@ -51,8 +53,10 @@
            (<a href="https://downloads.apache.org/ozone/{{.File.BaseFileName 
}}/ozone-{{.File.BaseFileName }}-src.tar.gz.sha512">checksum</a>
            <a href="https://downloads.apache.org/ozone/{{.File.BaseFileName 
}}/ozone-{{.File.BaseFileName }}-src.tar.gz.asc">signature</a>)
        </p>
-       <p><a href="https://ozone.apache.org/docs/{{.File.BaseFileName }}" 
class="btn btn-primary">Documentation</a>
+        {{ if ne .Params.supported false }}
+            <p><a href="https://ozone.apache.org/docs/{{.File.BaseFileName }}" 
class="btn btn-primary">Documentation</a>
        </p>
+        {{end}}
     {{end}}
     <p><small>{{dateFormat "2006 Jan 2 " .Date}}</small></p>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to