From 81f360ff952ad35e1f0e7c67bc4b38a49c167426 Mon Sep 17 00:00:00 2001 From: Allan Blanchard Date: Thu, 29 Oct 2020 09:59:59 +0100 Subject: [PATCH] Be sure that lastest version is the stable one --- html/get-frama-c.html | 6 +++--- index.html | 14 +++++++++++++- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/html/get-frama-c.html b/html/get-frama-c.html index b387b809..38d41569 100644 --- a/html/get-frama-c.html +++ b/html/get-frama-c.html @@ -78,11 +78,11 @@ opam depext --install -y frama-c For detailed installation instructions, click here
Previous Frama-C versions are available from this page - {% for version in site.fc-versions %}{% if version.beta %} + {% if site.fc-versions.last.beta %}
- The bĂȘta version of the next Frama-C release is available here + The bĂȘta version of the next Frama-C release is available here
- {% endif %}{% endfor %} + {% endif %}

Manuals

diff --git a/index.html b/index.html index bbbcc9e1..f4fb6d1c 100755 --- a/index.html +++ b/index.html @@ -220,8 +220,20 @@ title: Frama-C

Get Frama-C

+ {% for version in site.fc-versions reversed %} + {% unless version.beta %} + {% assign latest = version %} + {% break %} + {% endunless %} + {% endfor %} + {% if site.fc-versions.last.beta %} + {% assign beta = site.fc-versions.last %} + {% endif %} +
-- GitLab