Use different header for releases made prior to the move to Apache.

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

Branch: refs/heads/master
Commit: 941a6bfc704c4129d242e6ab8865f6c84d91a0ee
Parents: 8f95738
Author: Michael Jumper <mjum...@apache.org>
Authored: Mon Jan 8 11:28:49 2018 -0800
Committer: Michael Jumper <mjum...@apache.org>
Committed: Mon Jan 8 11:28:49 2018 -0800

----------------------------------------------------------------------
 security.md | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/941a6bfc/security.md
----------------------------------------------------------------------
diff --git a/security.md b/security.md
index c85b78a..701288d 100644
--- a/security.md
+++ b/security.md
@@ -24,8 +24,14 @@ discussing the issue in a public forum.
 {% assign releases = site.security | group_by: 'fixed' %}
 {% for release in releases reversed %}
 
+{% assign asfrelease = site.releases | where: 'title', release.name %}
+{% if asfrelease != empty %}
 Fixed in Apache Guacamole {{ release.name }}
 --------------------------------------------
+{% else %}
+Fixed in Guacamole {{ release.name }} (pre-Apache release)
+----------------------------------------------------------
+{% endif %}
 
 <ul>
     {% assign reports = release.items | sort: 'title' %}

Reply via email to