diff mbox series

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

Message ID 20210616110720.880586-2-thuth@redhat.com (mailing list archive)
State New, archived
Headers show
Series Improve the download information on the website | expand

Commit Message

Thomas Huth June 16, 2021, 11:07 a.m. UTC
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

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 mbox series


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 @@ 
-{% for release in site.data.releases offset: 0 limit: 4 %}
+{% for release in site.data.releases offset: 0 limit: 3 %}
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;