mikewalch closed pull request #141: Updates releases page
URL: https://github.com/apache/fluo-website/pull/141
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/_config.yml b/_config.yml
index 4b1a9d3..ece282f 100644
--- a/_config.yml
+++ b/_config.yml
@@ -39,6 +39,8 @@ defaults:
       layout: "release"
       category: "release"
       permalink: "/:categories/:title/"
+      draft: false
+      historical: false
   - 
     scope:
       path: "tour"
diff --git a/_posts/release/2016-10-14-fluo-1.0.0-incubating.md 
b/_posts/release/2016-10-14-fluo-1.0.0-incubating.md
index 56a9efd..962c949 100644
--- a/_posts/release/2016-10-14-fluo-1.0.0-incubating.md
+++ b/_posts/release/2016-10-14-fluo-1.0.0-incubating.md
@@ -1,5 +1,5 @@
 ---
-title: Apache Fluo 1.0.0-incubating released
+title: Apache Fluo 1.0.0-incubating
 date: 2016-10-14 15:00:00 +0000
 version: fluo-1.0.0-incubating
 ---
diff --git a/_posts/release/2016-10-28-fluo-recipes-1.0.0-incubating.md 
b/_posts/release/2016-10-28-fluo-recipes-1.0.0-incubating.md
index 8bfbcdf..a5565e7 100644
--- a/_posts/release/2016-10-28-fluo-recipes-1.0.0-incubating.md
+++ b/_posts/release/2016-10-28-fluo-recipes-1.0.0-incubating.md
@@ -1,5 +1,5 @@
 ---
-title: Apache Fluo Recipes 1.0.0-incubating released
+title: Apache Fluo Recipes 1.0.0-incubating
 date: 2016-10-28 10:30:00 +0000
 version: fluo-recipes-1.0.0-incubating
 ---
diff --git a/_posts/release/2017-06-12-fluo-1.1.0-incubating.md 
b/_posts/release/2017-06-12-fluo-1.1.0-incubating.md
index 5ae343e..f4a439a 100644
--- a/_posts/release/2017-06-12-fluo-1.1.0-incubating.md
+++ b/_posts/release/2017-06-12-fluo-1.1.0-incubating.md
@@ -1,5 +1,5 @@
 ---
-title: Apache Fluo 1.1.0-incubating released
+title: Apache Fluo 1.1.0-incubating
 date: 2017-06-12 15:00:00 +0000
 version: fluo-1.1.0-incubating
 ---
diff --git a/_posts/release/2017-06-22-fluo-recipes-1.1.0-incubating.md 
b/_posts/release/2017-06-22-fluo-recipes-1.1.0-incubating.md
index 6b1f302..009e2ad 100644
--- a/_posts/release/2017-06-22-fluo-recipes-1.1.0-incubating.md
+++ b/_posts/release/2017-06-22-fluo-recipes-1.1.0-incubating.md
@@ -1,5 +1,5 @@
 ---
-title: Apache Fluo Recipes 1.1.0-incubating released
+title: Apache Fluo Recipes 1.1.0-incubating
 date: 2017-06-22 10:30:00 +0000
 version: fluo-recipes-1.1.0-incubating
 ---
diff --git a/_posts/release/2018-02-26-fluo-1.2.0.md 
b/_posts/release/2018-02-26-fluo-1.2.0.md
index e803650..b463dbe 100644
--- a/_posts/release/2018-02-26-fluo-1.2.0.md
+++ b/_posts/release/2018-02-26-fluo-1.2.0.md
@@ -1,5 +1,5 @@
 ---
-title: Apache Fluo 1.2.0 released
+title: Apache Fluo 1.2.0
 date: 2018-02-26 15:00:00 +0000
 version: fluo-1.2.0
 ---
diff --git a/_posts/release/2018-03-06-fluo-recipes-1.2.0.md 
b/_posts/release/2018-03-06-fluo-recipes-1.2.0.md
index 892b337..c59c882 100644
--- a/_posts/release/2018-03-06-fluo-recipes-1.2.0.md
+++ b/_posts/release/2018-03-06-fluo-recipes-1.2.0.md
@@ -1,5 +1,5 @@
 ---
-title: Apache Fluo Recipes 1.2.0 released
+title: Apache Fluo Recipes 1.2.0
 version: fluo-recipes-1.2.0
 ---
 
diff --git a/_posts/release/2018-03-06-fluo-yarn-1.0.0.md 
b/_posts/release/2018-03-06-fluo-yarn-1.0.0.md
index cad1782..5da06d7 100644
--- a/_posts/release/2018-03-06-fluo-yarn-1.0.0.md
+++ b/_posts/release/2018-03-06-fluo-yarn-1.0.0.md
@@ -1,5 +1,5 @@
 ---
-title: Apache Fluo YARN 1.0.0 released
+title: Apache Fluo YARN 1.0.0
 version: fluo-yarn-1.0.0
 ---
 
diff --git a/index.html b/index.html
index 0dd1b92..3662dbb 100644
--- a/index.html
+++ b/index.html
@@ -6,7 +6,7 @@
   <div class="col-sm-8">
     <div id="welcome-jumbotron" class="jumbotron" style="text-align: center">
       <h3>Apache Fluo&trade; lets users make incremental updates to large data 
sets stored in Apache Accumulo</h3>
-      <a style="margin-right: 20px" href="{{ site.baseurl }}/release/fluo-{{ 
site.latest_fluo_release }}/" class="btn btn-success btn-sm navbar-btn"><i 
class="fa fa-download fa-lg"></i> Download</a>
+      <a style="margin-right: 20px" href="{{ site.baseurl }}/release/" 
class="btn btn-success btn-sm navbar-btn"><i class="fa fa-download fa-lg"></i> 
Download</a>
       <a style="margin-right: 20px" href="https://github.com/apache/fluo"; 
target="_blank" class="btn btn-default btn-sm navbar-btn"><i class="fa 
fa-github fa-lg"></i> GitHub</a>
       <a href="https://twitter.com/apachefluo"; target="_blank" class="btn 
btn-primary btn-sm navbar-btn"><i class="fa fa-twitter fa-lg"></i> Follow</a>
     </div>
diff --git a/pages/release.md b/pages/release.md
index 753c9ee..5ef531c 100644
--- a/pages/release.md
+++ b/pages/release.md
@@ -1,15 +1,50 @@
 ---
-layout: page
+layout: default
 title: Releases
 permalink: "/release/"
 ---
 
-Apache Fluo has several projects that are released separately on their own 
schedule.
+## Current
 
-{% for release in site.categories.release %}
-{% unless release.historical or release.draft %}
-* [{{ release.version }}]({{ site.baseurl }}/release/{{ release.version }}/) - 
{{ release.date | date_to_string }}
-{% endunless %}
+<div class="row">
+  <a href="/release/fluo-{{ site.latest_fluo_release }}">
+    <div class="col-sm-4 btn btn-info">
+      <h3>Fluo {{ site.latest_fluo_release }}</h3>
+      <p>Core project containing 'fluo' command to initialize<br> 
applications, start oracle and worker processes, and<br>manage running 
applicaitons.</p>
+    </div>
+  </a>
+  <a href="/release/fluo-yarn-{{ site.latest_fluo_yarn_release }}">
+    <div class="col-sm-4 btn btn-warning">
+      <h3>Fluo YARN {{ site.latest_fluo_yarn_release }}</h3>
+      <p>Project containing 'fluo-yarn' command that launches<br>Fluo 
applications in YARN after they have been<br>initialized using 'fluo' 
command</p>
+    </div>
+  </a>
+  <a href="/release/fluo-recipes-{{ site.latest_recipes_release }}">
+    <div class="col-sm-4 btn btn-success">
+      <h3>Fluo Recipes {{ site.latest_recipes_release }}</h3>
+      <p>Libraries containing common code that build on the<br>Fluo API to 
offer complex transactional updates or<br>provide additional utilities<br></p>
+    </div>
+  </a>
+</div>
+
+## Archive
+
+{% assign visible_releases = site.categories.release | where:"draft",false | 
where:"historical",false %}
+{% assign header_year = visible_releases[0].date | date: "%Y" %}
+<h3>{{header_year}}</h3>
+{% for release in visible_releases %}
+  {% assign current_release_year = release.date | date: "%Y" %}
+  {% if current_release_year != header_year %}
+    {% assign header_year = current_release_year %}
+  <hr>
+  <h3>{{ header_year }}</h3>
+  {% endif %}
+  <div class="row" style="margin-top: 15px">
+    <div class="col-md-1">{{ release.date | date: "%b %d" }}</div>
+    <div class="col-md-10"><a href="{{ site.baseurl }}/release/{{ 
release.version }}">{{ release.title }}</a></div>
+  </div>
 {% endfor %}
 
-Releases before joining Apache have been [archived](/pre-asf-release/).
+<hr>
+
+Releases before joining Apache are in [pre-ASF archive](/pre-asf-release/).


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to