From 8dceb5c8f4316a9fbfc6eb3da994dedf50356107 Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Sun, 14 Apr 2024 12:31:36 +1000 Subject: [PATCH] Add version to home page --- static/home.css | 3 +++ templates/index.html | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/static/home.css b/static/home.css index ee7ab47..b202c93 100644 --- a/static/home.css +++ b/static/home.css @@ -96,6 +96,9 @@ footer a:hover { .hero section { padding: 0 5rem; } +.version-number { + font-variant-numeric: tabular-nums; +} @media screen and (max-width: 950px) { .hero { flex-direction: column; diff --git a/templates/index.html b/templates/index.html index 2bed9aa..871edc3 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,7 +3,7 @@ {% block hero %}
-

{{ section.description }}

+

{{ section.description }}

RSS Please is a command line tool that runs on Linux, macOS, Windows, BSD, and more.

@@ -13,7 +13,11 @@ {% set latest_release = releases.feed.entry | first %} {% set latest_version = latest_release.link['@href'] | split(pat="/") | last %} Install + +

Current version: {{ latest_version }}

+ +
Screenshot of two invocations of rsspls in a terminal. The first fetches and generates the feeds, the second does not change anything as the source pages are unmodifed.