Repository: guacamole-website
Updated Branches:
  refs/heads/master deaf0704c -> 77b45ba64


Note when a release is archived. Link to latest release in older release notes.


Project: http://git-wip-us.apache.org/repos/asf/guacamole-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-website/commit/5d04c3e3
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-website/tree/5d04c3e3
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-website/diff/5d04c3e3

Branch: refs/heads/master
Commit: 5d04c3e3ff09fc215e0f06380eeb99e1dc8f4708
Parents: deaf070
Author: Michael Jumper <mjum...@apache.org>
Authored: Thu Feb 16 14:43:50 2017 -0800
Committer: Michael Jumper <mjum...@apache.org>
Committed: Wed Jan 9 21:59:20 2019 -0800

----------------------------------------------------------------------
 _layouts/legacy-release.html   |  5 ++++-
 _layouts/release.html          | 10 ++++++++++
 _releases/0.9.10-incubating.md |  1 +
 _releases/0.9.11-incubating.md |  1 +
 styles/main.css                |  3 ++-
 5 files changed, 18 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/5d04c3e3/_layouts/legacy-release.html
----------------------------------------------------------------------
diff --git a/_layouts/legacy-release.html b/_layouts/legacy-release.html
index 4899371..260d8ad 100644
--- a/_layouts/legacy-release.html
+++ b/_layouts/legacy-release.html
@@ -3,11 +3,14 @@ layout: default
 permalink: /release/release-notes-:title
 ---
 
+{% assign latest = site.releases | where: 'released', 'true' | sort: 'date'  | 
last %}
 <div class="legacy-release-note">
     <p><strong>The release below is from prior to Guacamole's acceptance into
         the Apache Incubator.</strong> It is not an Apache Software Foundation
         release, and is licensed under the <a
-    href="https://opensource.org/licenses/MIT";>MIT license</a>.</p>
+     href="https://opensource.org/licenses/MIT";>MIT license</a>. The latest
+     release of Apache Guacamole is <a href="{{ latest.url }}">{{
+         latest.title }}</a>.</p>
 </div>
 
 <div id="links">

http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/5d04c3e3/_layouts/release.html
----------------------------------------------------------------------
diff --git a/_layouts/release.html b/_layouts/release.html
index a2c880d..ccaa220 100644
--- a/_layouts/release.html
+++ b/_layouts/release.html
@@ -11,6 +11,16 @@ permalink: /release/release-notes-:title
     </div>
 {% endunless %}
 
+{% if page.archived %}
+    {% assign latest = site.releases | where: 'released', 'true' | sort: 
'date'  | last %}
+    <div class="archive-disclaimer">
+        <p>Apache Guacamole {{ page.title }} is an archived release, and was
+        originally released on {{ page.date | date: "%Y-%m-%d" }}. <strong>The
+        latest release of Apache Guacamole is <a href="{{ latest.url }}">{{
+            latest.title }}</a>.</strong></p>
+    </div>
+{% endif %}
+
 <h1>Apache Guacamole {{ page.title }}</h1>
 
 <div id="links">

http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/5d04c3e3/_releases/0.9.10-incubating.md
----------------------------------------------------------------------
diff --git a/_releases/0.9.10-incubating.md b/_releases/0.9.10-incubating.md
index e6648a4..7af7193 100644
--- a/_releases/0.9.10-incubating.md
+++ b/_releases/0.9.10-incubating.md
@@ -1,6 +1,7 @@
 ---
 
 released: true
+archived: true
 title: 0.9.10-incubating
 date: 2016-12-29 19:52:00 -0800
 summary: >

http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/5d04c3e3/_releases/0.9.11-incubating.md
----------------------------------------------------------------------
diff --git a/_releases/0.9.11-incubating.md b/_releases/0.9.11-incubating.md
index 37007bb..eec7611 100644
--- a/_releases/0.9.11-incubating.md
+++ b/_releases/0.9.11-incubating.md
@@ -1,6 +1,7 @@
 ---
 
 released: true
+archived: false 
 title: 0.9.11-incubating
 date: 2017-02-02 09:24:00 -0800
 summary: >

http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/5d04c3e3/styles/main.css
----------------------------------------------------------------------
diff --git a/styles/main.css b/styles/main.css
index 4ab8f7b..2397d92 100644
--- a/styles/main.css
+++ b/styles/main.css
@@ -555,7 +555,8 @@ table.releases td {
 }
 
 #content > .legacy-release-note,
-#content > .draft-disclaimer {
+#content > .draft-disclaimer,
+#content > .archive-disclaimer {
     background: #FFFFFA;
     border: 1px solid rgba(0, 0, 0, 0.25);
     width: 8in;

Reply via email to