You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by mw...@apache.org on 2017/09/06 19:40:39 UTC
[accumulo-website] branch master updated: Removed 2.0.0 notes from
feed.xml & latest news (#24)
This is an automated email from the ASF dual-hosted git repository.
mwalch pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git
The following commit(s) were added to refs/heads/master by this push:
new ca3ff8a Removed 2.0.0 notes from feed.xml & latest news (#24)
ca3ff8a is described below
commit ca3ff8a525f86af623a2215f8b52477132613aad
Author: Mike Walch <mw...@apache.org>
AuthorDate: Wed Sep 6 15:40:37 2017 -0400
Removed 2.0.0 notes from feed.xml & latest news (#24)
---
_layouts/release.html | 2 +-
_posts/release/2017-09-05-accumulo-2.0.0.md | 2 +-
feed.xml | 3 ++-
index.html | 3 ++-
4 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/_layouts/release.html b/_layouts/release.html
index b76ff0c..a8ed6e5 100644
--- a/_layouts/release.html
+++ b/_layouts/release.html
@@ -3,7 +3,7 @@ layout: default
---
<p>{{ page.date | date_to_string }}</p>
-{% if page.unreleased %}
+{% if page.draft %}
<div class="alert alert-danger" style="margin-bottom: 0px;" role="alert">These are draft release notes for a future release of Accumulo! <a href="{{ site.baseurl }}/release/accumulo-{{ site.latest_release }}/">View the latest release notes</a>.</div>
{% endif %}
diff --git a/_posts/release/2017-09-05-accumulo-2.0.0.md b/_posts/release/2017-09-05-accumulo-2.0.0.md
index 3305936..a61f3eb 100644
--- a/_posts/release/2017-09-05-accumulo-2.0.0.md
+++ b/_posts/release/2017-09-05-accumulo-2.0.0.md
@@ -1,6 +1,6 @@
---
title: Apache Accumulo 2.0.0
-unreleased: true
+draft: true
---
## Major Changes
diff --git a/feed.xml b/feed.xml
index a6628bd..199faeb 100644
--- a/feed.xml
+++ b/feed.xml
@@ -11,7 +11,8 @@ layout: null
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
<generator>Jekyll v{{ jekyll.version }}</generator>
- {% for post in site.posts limit:10 %}
+ {% assign visible_posts = site.posts | where:"draft",false %}
+ {% for post in visible_posts limit:10 %}
<item>
<title>{{ post.title | xml_escape }}</title>
<description>{{ post.content | xml_escape }}</description>
diff --git a/index.html b/index.html
index c2ac357..2777df1 100644
--- a/index.html
+++ b/index.html
@@ -43,7 +43,8 @@ legal_notice: Apache Accumulo, Apache Hadoop, and the Accumulo project logo are
<div class="row">
<div class="col-sm-12 panel panel-default">
<p style="font-size: 24px; margin-bottom: 0px;">Latest News</p>
- {% for post in site.posts limit:site.num_home_posts %}
+ {% assign visible_posts = site.posts | where:"draft",false %}
+ {% for post in visible_posts limit:site.num_home_posts %}
<div class="row latest-news-item">
<div class="col-sm-12" style="margin-bottom: 5px">
<span style="font-size: 12px; margin-right: 5px;">{{ post.date | date: "%b %Y" }}</span>
--
To stop receiving notification emails like this one, please contact
['"commits@accumulo.apache.org" <co...@accumulo.apache.org>'].