Skip to content

Commit

Permalink
On Help page, show links to release pages for supported releases
Browse files Browse the repository at this point in the history
  • Loading branch information
knomepasi committed Oct 7, 2024
1 parent a36ba18 commit 4290516
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions help.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,18 @@ menu_title: Support
</div>
<div>
<h3>Release Notes</h3>
<p>If you are installing or using Xubuntu and have run into a problem, please read the <a href="#">Release Announcement</a> and <a href="#">Release Notes</a> for your release to learn about common bugs and known fixes to them.</p>
<p><a href="{{ "/releases" | relative_url }}" class="button"><span>Find your release</span></a></p>
<p>If you are installing or using Xubuntu and have run into a problem, please read the <strong>release documents</strong> for your release to learn about common bugs and known fixes to them.</p>
<p>
{%- assign today = site.time | date: '%Y-%m-%d' -%}
{%- assign releases = site.releases | sort_natural: 'version' | reverse -%}
{%- for release in releases -%}
{%- assign release_eol = release.date_eol | date: '%Y-%m-%d' -%}
{%- if release_eol > today -%}
<a href="{{ release.url | relative_url }}" class="button"><span>{{ release.title }}</span></a>
{%- endif -%}
{%- endfor -%}
</p>
<p><a class="quo" href="{{ "/releases" | relative_url }}">Browse All Releases</a></p>
</div>
</section>

Expand Down

0 comments on commit 4290516

Please sign in to comment.