diff --git a/_layouts/index.html b/_layouts/index.html index 24b78043..36b4eeb1 100644 --- a/_layouts/index.html +++ b/_layouts/index.html @@ -8,7 +8,18 @@ {% assign latestRelease = site.data.releases[site.current_release_index] %}

WildFly

A powerful, modular, & lightweight application server that helps you build amazing applications.

-

Now available: WildFly {{latestRelease.version_shortname}}

+ + {% for link in latestRelease.link %} + {% if link.name == "Release Notes" %} + {% for item in link.items %} + {% if item.format == "Notes" %} + {% assign releaseNoteLink = item.url %} + {% endif %} + {% endfor %} + {% endif %} + {% endfor %} + +

Now available: WildFly {{latestRelease.version_shortname}}

Download WildFly Get Started diff --git a/_layouts/news.html b/_layouts/news.html index 2970372f..3eb4ef4d 100644 --- a/_layouts/news.html +++ b/_layouts/news.html @@ -10,6 +10,10 @@

WildFly Project News

+
+ Release Announcements +
+
{% for post in paginator.posts %} diff --git a/_layouts/releases.html b/_layouts/releases.html new file mode 100644 index 00000000..a2b4be0e --- /dev/null +++ b/_layouts/releases.html @@ -0,0 +1,45 @@ +--- +layout: base +--- + +
+
+

WildFly Releases

+
+
+ +
+ + +
+ {% for post in site.posts %} + {% if post.tags contains 'release' and post.tags contains 'announcement' %} + {% assign author = "" | split: ',' %} + {% for a in post.author %} + {% assign author = author | push: site.data.authors[a].name %} + {% endfor %} +
+
+

{{ post.title }}

+
+
+ +
+
{% include share-page.html %}
+
+ {% if post.synopsis %} +

{{ post.synopsis | strip_html }}

+ {% else %} +

{{ post.content | strip_html | truncatewords: 75 }}

+ {% endif %} +
+ +
+ {% endif %} + {% endfor %} +
+ +
+
+ + diff --git a/releases.md b/releases.md new file mode 100644 index 00000000..ef531e56 --- /dev/null +++ b/releases.md @@ -0,0 +1,5 @@ +--- +layout: releases +title: "WildFly Release Announcements" +permalink: /releases/ +---