From ca665dbbf34141cde137339775cd872bcf960dbc Mon Sep 17 00:00:00 2001 From: dozens Date: Tue, 31 Oct 2023 08:43:42 -0600 Subject: [PATCH] fixes a few comments from lucidiot - adds `htmlUrl` to opml entry items - removes `title` from opml entity - removes superfluous jq call, moves query to recsel **NOTE:** mustache apparently has a quirk where when iterating over a list, it will interpret a 0 and a 1 as false and true unless/until there is also a 2. at which point it will start interpreting the numbers as numbers. this commit does NOT fix this. i just manually changed the `false` to `0` in the generated html. this problem will fix itself once we have at least 3 webring members. --- webring/db/members.rec | 2 +- webring/index.html | 6 +++--- webring/justfile | 3 +-- webring/src/example.html | 4 ++-- webring/src/example.opml | 3 +-- 5 files changed, 8 insertions(+), 10 deletions(-) diff --git a/webring/db/members.rec b/webring/db/members.rec index 7ef6cad..647048d 100644 --- a/webring/db/members.rec +++ b/webring/db/members.rec @@ -12,6 +12,7 @@ %mandatory: id title name url %sort: id + # FIELDS AND VALUES # id: an incrementing integer # created: timestamp @@ -27,4 +28,3 @@ created: Mon, 30 Oct 2023 13:38:40 -0600 name: dozens title: tilde.town/~dozens url: https://tilde.town/~dozens -feed: diff --git a/webring/index.html b/webring/index.html index 0f82729..8262f2a 100644 --- a/webring/index.html +++ b/webring/index.html @@ -47,9 +47,9 @@ body {