From d0a0e8dfea8c1c1760507def2258c172a5cd7219 Mon Sep 17 00:00:00 2001
From: Carter McBride <18412686+carterworks@users.noreply.github.com>
Date: Wed, 17 Jul 2024 16:27:40 -0600
Subject: [PATCH] Add margins to footers & fix recent time (#16)
* Add margins to footers
* Fix "recent" to mean "in the last 8 hours"
---
config/template.html | 24 +++++++++++++-----------
src/index.ts | 2 +-
2 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/config/template.html b/config/template.html
index 616472f..a0f0cdb 100644
--- a/config/template.html
+++ b/config/template.html
@@ -104,10 +104,10 @@
{% for group, feeds in data %}
-
+
{{ group }}
{% for feed in feeds %}
-
+
{% if feed.hasRecent %}
✳︎
@@ -117,7 +117,7 @@
({{ feed.feed }})
-
+
{% for item in feed.items %}
-
{% if item.isRecent %}
@@ -146,16 +146,18 @@
{% endfor %}
{% if errors | length > 0 %}
-
Errors
- There were errors trying to parse these feeds:
-
- {% for error in errors %}
- - {{ error }}
- {% endfor %}
-
+
+ Errors
+ There were errors trying to parse these feeds:
+
+ {% for error in errors %}
+ - {{ error }}
+ {% endfor %}
+
+
{% endif %}