mirror of
https://github.com/greenshot/greenshot
synced 2025-08-24 07:06:23 -07:00
Another test, hoping to get the GH releases right
This commit is contained in:
parent
1a2d4d146d
commit
089259075d
1 changed files with 4 additions and 3 deletions
|
@ -7,15 +7,16 @@ permalink: /downloads/
|
||||||
comments: []
|
comments: []
|
||||||
tags: menu
|
tags: menu
|
||||||
---
|
---
|
||||||
{% assign latestRelease = site.github.releases | where:"prerelease","false" | first %}
|
{% assign latest_release = site.github.releases | where:"prerelease",false | where:"draft",false | first %}
|
||||||
|
{{ latest_release }}
|
||||||
<div class="two-col left-box">
|
<div class="two-col left-box">
|
||||||
<h2>Download the latest stable release</h2>
|
<h2>Download the latest stable release</h2>
|
||||||
|
|
||||||
<table class="cta-button">
|
<table class="cta-button">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
{% for asset in latestRelease.assets %}
|
{% for asset in latest_release.assets %}
|
||||||
{{ asset.name }}
|
{{ asset }}
|
||||||
{% if asset.name contains 'RELEASE.exe' %}
|
{% if asset.name contains 'RELEASE.exe' %}
|
||||||
<a href="{{ asset.browser_download_url }}" class="cta" title="Download the latest stable version of Greenshot" rel="nofollow" style="display:table-cell">Latest version</a>
|
<a href="{{ asset.browser_download_url }}" class="cta" title="Download the latest stable version of Greenshot" rel="nofollow" style="display:table-cell">Latest version</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue