From 805d7130296518547e446feb5939fd14f9ea57c0 Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Sun, 10 Mar 2024 15:04:03 +1000 Subject: [PATCH] Small tweaks; add GoatCounter Mostly to make headings work better on mobile. --- content/_index.md | 4 ++-- content/news/release-0.8.1.md | 4 ++-- static/home.css | 4 +++- static/home.js | 6 +++++- templates/index.html | 1 + 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/content/_index.md b/content/_index.md index 3bdeb79..2e7cec1 100644 --- a/content/_index.md +++ b/content/_index.md @@ -35,8 +35,8 @@ You can subscribe to the generated feeds in your feed reader, either by referring to them locally or by publishing them on a web server.
-Install -Documentation +Install +Documentation
FAQ diff --git a/content/news/release-0.8.1.md b/content/news/release-0.8.1.md index 95e0ad2..b933e9e 100644 --- a/content/news/release-0.8.1.md +++ b/content/news/release-0.8.1.md @@ -6,13 +6,13 @@ date = 2024-03-08T21:30:39+10:00 #updated = 2024-02-20T22:57:15+10:00 +++ -The [0.8.1 release has been published][release] and RSS Please now has its own website. +The 0.8.1 release has been published and RSS Please now has its own website. ## Version 0.8.1 -Many thanks to [Lcchy on GitHub][Lcchy] for these new features: +Many thanks to [Lcchy on GitHub][Lcchy] for these new features in [this release][release]: * Add per feed user-agent option to config file [#27](https://github.com/wezm/rsspls/pull/27) * Add a media selector to include as RSS enclosure [#29](https://github.com/wezm/rsspls/pull/29) diff --git a/static/home.css b/static/home.css index 46b7139..a1abd00 100644 --- a/static/home.css +++ b/static/home.css @@ -21,7 +21,7 @@ a.link-button { font-size: 13px; border-radius: 5px; padding: 2px 2em 0; - margin: 0.5em 2em; + margin: 0.5em 0; height: 32px; line-height: 30px; text-decoration: none; @@ -46,6 +46,7 @@ h1 { border: none; margin: 0; padding: 0; + line-height: 1.2; } h3 { font-size: 18px; @@ -80,6 +81,7 @@ p { @media screen and (max-width: 950px) { .hero { flex-direction: column; + padding-top: 100px; } .hero section { padding: 0 2rem; diff --git a/static/home.js b/static/home.js index e695035..f7c6690 100644 --- a/static/home.js +++ b/static/home.js @@ -11,7 +11,7 @@ if (installButton && version) { os = "Windows"; arch = "x86_64"; } - else if (agent.indexOf("Mac OS X") >= 0 || agent.indexOf("macOS") >= 0) { + else if (macos(agent)) { file = "rsspls-"+version+"-universal-apple-darwin.tar.gz"; os = "macOS"; arch = "universal"; @@ -36,3 +36,7 @@ if (installButton && version) { function x64(agent) { return (agent.indexOf("x86_64") >= 0 || agent.indexOf("amd64") >= 0); } + +function macos(agent) { + return (agent.indexOf("Mac OS X") >= 0 || agent.indexOf("macOS") >= 0) && agent.indexOf("iPhone") < 0; +} diff --git a/templates/index.html b/templates/index.html index 3169b77..1b2650d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -53,4 +53,5 @@ + {% endblock %}