qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[qemu-web PATCH 1/4] Show only the latest three releases on the website


From: Thomas Huth
Subject: [qemu-web PATCH 1/4] Show only the latest three releases on the website
Date: Wed, 16 Jun 2021 13:07:17 +0200

The QEMU project is only maintaining the very latest releases, so this
could be the current RC version, followed by the current stable release
and maybe also still the previous stable release (in case there are
severe bugs). But it does not make sense to show a fourth release that
we very likely do not update anymore. Thus don't show the fourth release
anymore to avoid that people still get the impression that we support
it (and then report bugs in that old release that we do not maintain
anymore).

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 _includes/releases.html | 2 +-
 assets/css/style.css    | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/_includes/releases.html b/_includes/releases.html
index 2e95631..5600e10 100644
--- a/_includes/releases.html
+++ b/_includes/releases.html
@@ -1,5 +1,5 @@
 <ul>
-{% for release in site.data.releases offset: 0 limit: 4 %}
+{% for release in site.data.releases offset: 0 limit: 3 %}
 <li><strong><a
   
href="https://download.qemu.org/qemu-{{release.branch}}.{{release.patch}}.tar.xz";>{{release.branch}}.{{release.patch}}</a></strong>
   {{release.date}}<br><a
diff --git a/assets/css/style.css b/assets/css/style.css
index 7f018b4..6ee82c4 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -477,13 +477,15 @@
        #releases ul, #releases p
        {
                margin: 0em;
+               padding-left: 0.2em;
+               padding-right: 0.2em;
        }
 
        #releases ul > li
        {
                list-style: none;
                display: inline-block;
-               width: 40%;
+               width: 30%;
                margin: 1em 0em;
        }
 
-- 
2.27.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]