Filter out pre-releases that where released before the latest stable release (#240)

This commit is contained in:
lukeIam committed 2017-08-21 12:25:40 +02:00
1 parent 594b9e2c9b
commit 4a1d09bed6
1 file changed
+5
+5
View File
@@ -11,6 +11,11 @@
{% elsif release_stable == nil or release.created_at > release_stable.created_at %}
{% endif %}
{% endfor %}
{% if release_pre != nil and release_stable != nil and release_stable.created_at > release_pre.created_at %}
{% assign release_pre = nil %}
{% endif %}
<section id="{{ page.section-type }}" class="content-section">
<div class="container">
<div class="row">