Skip to content

Commit

Permalink
Add link to latest release announcement to homepage
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Mesnil <[email protected]>
  • Loading branch information
jmesnil committed May 16, 2024
1 parent 9c9661e commit 0a87e07
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion _layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,18 @@
{% assign latestRelease = site.data.releases[site.current_release_index] %}
<h1>Wild<strong>Fly</strong></h1>
<h2>A powerful, modular, & lightweight application server that helps you build amazing applications.</h2>
<h3>Now available: <span style="font-weight: 100;">Wild</span><strong>Fly</strong> {{latestRelease.version_shortname}}</h3>

{% 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 %}

<h3>Now available: <a href="{{ releaseNoteLink }}"><span style="font-weight: 100;">Wild</span><strong>Fly</strong> {{latestRelease.version_shortname}}</a></h3>
<div class="home-ctas">
<a href="{{site.baseurl}}/downloads/" class="button-cta secondary">Download Wild<strong>Fly</strong></a>
<a href="{{site.baseurl}}/get-started/" class="button-cta">Get Started</a>
Expand Down

0 comments on commit 0a87e07

Please sign in to comment.