Small tweaks; add GoatCounter

Mostly to make headings work better on mobile.
This commit is contained in:
Wesley Moore 2024-03-10 15:04:03 +10:00
parent af016fb99a
commit 805d713029
No known key found for this signature in database
5 changed files with 13 additions and 6 deletions

View file

@ -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. referring to them locally or by publishing them on a web server.
<div class="text-center"> <div class="text-center">
<a href="/install/" class="link-button">Install</a> <a href="/install/" class="link-button" style="margin: 0.5em 2em">Install</a>
<a href="/documentation/" class="link-button">Documentation</a> <a href="/documentation/" class="link-button" style="margin: 0.5em 2em">Documentation</a>
</div> </div>
FAQ FAQ

View file

@ -6,13 +6,13 @@ date = 2024-03-08T21:30:39+10:00
#updated = 2024-02-20T22:57:15+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.
<!-- more --> <!-- more -->
## Version 0.8.1 ## 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 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) * Add a media selector to include as RSS enclosure [#29](https://github.com/wezm/rsspls/pull/29)

View file

@ -21,7 +21,7 @@ a.link-button {
font-size: 13px; font-size: 13px;
border-radius: 5px; border-radius: 5px;
padding: 2px 2em 0; padding: 2px 2em 0;
margin: 0.5em 2em; margin: 0.5em 0;
height: 32px; height: 32px;
line-height: 30px; line-height: 30px;
text-decoration: none; text-decoration: none;
@ -46,6 +46,7 @@ h1 {
border: none; border: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
line-height: 1.2;
} }
h3 { h3 {
font-size: 18px; font-size: 18px;
@ -80,6 +81,7 @@ p {
@media screen and (max-width: 950px) { @media screen and (max-width: 950px) {
.hero { .hero {
flex-direction: column; flex-direction: column;
padding-top: 100px;
} }
.hero section { .hero section {
padding: 0 2rem; padding: 0 2rem;

View file

@ -11,7 +11,7 @@ if (installButton && version) {
os = "Windows"; os = "Windows";
arch = "x86_64"; 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"; file = "rsspls-"+version+"-universal-apple-darwin.tar.gz";
os = "macOS"; os = "macOS";
arch = "universal"; arch = "universal";
@ -36,3 +36,7 @@ if (installButton && version) {
function x64(agent) { function x64(agent) {
return (agent.indexOf("x86_64") >= 0 || agent.indexOf("amd64") >= 0); 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;
}

View file

@ -53,4 +53,5 @@
</small> </small>
</footer> </footer>
<script src="{{ get_url(path="home.js") }}" type="text/javascript"></script> <script src="{{ get_url(path="home.js") }}" type="text/javascript"></script>
<script data-goatcounter="https://rsspls.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
{% endblock %} {% endblock %}