From 1d1f9ef8414120f8a77538293f553ba9088c801f Mon Sep 17 00:00:00 2001 From: JP Hastings-Spital Date: Fri, 29 Mar 2024 22:47:53 +0000 Subject: [PATCH] Fix a few interactions --- data/interactions/.json | 1 - data/interactions/calendar.json | 1 - data/interactions/photos/coche.json | 2 +- data/interactions/photos/la-florida.json | 2 +- data/interactions/photos/mums-garden.json | 2 +- data/interactions/photos/pre-wedding.json | 2 +- data/interactions/photos/sunny-brunch.json | 2 +- data/interactions/search.json | 1 - layouts/partials/interactions.html | 2 +- 9 files changed, 6 insertions(+), 9 deletions(-) delete mode 100644 data/interactions/.json delete mode 100644 data/interactions/calendar.json delete mode 100644 data/interactions/search.json diff --git a/data/interactions/.json b/data/interactions/.json deleted file mode 100644 index ec871827..00000000 --- a/data/interactions/.json +++ /dev/null @@ -1 +0,0 @@ -{"interactions":[{"guid":"webmentions.io#1795016","emoji":"💬","url":"https://hachyderm.io/@byjp/112115874706330891","comment":"@geffrey @death.au ????☺️ well now I’m blushing! Thank you!\n\nThe code for the site \u0026 the automation is public \u0026 MIT licenced, so do take anything you find useful; and get in touch if you have any questions!","author":{"name":"JP","url":"https://hachyderm.io/@byjp"},"timestamp":"2024-03-18T09:01:22Z"}]} diff --git a/data/interactions/calendar.json b/data/interactions/calendar.json deleted file mode 100644 index 135a304b..00000000 --- a/data/interactions/calendar.json +++ /dev/null @@ -1 +0,0 @@ -{"interactions":[{"guid":"webmentions.io#1758794","emoji":"♥️","url":"https://hachyderm.io/@byjp/111645944873743257#favorited-by-109303710428386973","author":{"name":"Jamie Tanna","url":"https://fed.brid.gy/r/https://www.jvt.me"},"timestamp":"2023-12-27T05:38:33Z"},{"guid":"webmentions.io#1758795","emoji":"⭐️","url":"https://hachyderm.io/@byjp/111645944873743257#favorited-by-109344010117626087","author":{"name":"sass","url":"https://mastodon.social/@sass"},"timestamp":"2023-12-27T05:38:33Z"},{"guid":"webmentions.io#1758521","emoji":"⭐️","url":"https://hachyderm.io/@byjp/111645944873743257#favorited-by-109290756203712091","author":{"name":"Maria Neumayer","url":"https://androiddev.social/@marianeum"},"timestamp":"2023-12-26T10:19:17Z"}]} diff --git a/data/interactions/photos/coche.json b/data/interactions/photos/coche.json index 80dfa39d..92eb5dc6 100644 --- a/data/interactions/photos/coche.json +++ b/data/interactions/photos/coche.json @@ -1 +1 @@ -{"interactions":[{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/634552262586596629","author":{"name":"Stephen","url":"https://pixelfed.social/jaguar314"}},{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/634552262586596629","author":{"name":"Stray Cats Observer","url":"https://pixelfed.social/headofcatdept"}},{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/634552262586596629","author":{"name":"Dany","url":"https://mastodon.art/users/danyaero"}},{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/634552262586596629","author":{"name":"Deekshith Allamaneni","url":"https://pixelfed.social/dk"}},{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/634552262586596629","author":{"name":"Tired Sloth","url":"https://pixelfed.social/TiredSloth"}},{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/634552262586596629","author":{"name":"Bryan 🏳️‍🌈 Mastodon","url":"https://hugs.lgbt/users/riversidebryan"}},{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/634552262586596629","author":{"name":"Art Zemon ✅ 🟦","url":"https://babka.social/users/azemon"}},{"emoji":"🔁","url":"https://pixelfed.social/p/jphastings/634552262586596629","author":{"name":"Bryan 🏳️‍🌈 Pixelfed","url":"https://pixelfed.social/RiversideBryan"}}]} +{"interactions":[{"emoji":"⭐️","author":{"name":"Stephen","url":"https://pixelfed.social/jaguar314"}},{"emoji":"⭐️","author":{"name":"Stray Cats Observer","url":"https://pixelfed.social/headofcatdept"}},{"emoji":"⭐️","author":{"name":"Dany","url":"https://mastodon.art/users/danyaero"}},{"emoji":"⭐️","author":{"name":"Deekshith Allamaneni","url":"https://pixelfed.social/dk"}},{"emoji":"⭐️","author":{"name":"Tired Sloth","url":"https://pixelfed.social/TiredSloth"}},{"emoji":"⭐️","author":{"name":"Bryan 🏳️‍🌈 Mastodon","url":"https://hugs.lgbt/users/riversidebryan"}},{"emoji":"⭐️","author":{"name":"Art Zemon ✅ 🟦","url":"https://babka.social/users/azemon"}},{"emoji":"🔁","author":{"name":"Bryan 🏳️‍🌈 Pixelfed","url":"https://pixelfed.social/RiversideBryan"}}]} diff --git a/data/interactions/photos/la-florida.json b/data/interactions/photos/la-florida.json index 9a072975..2c86cca3 100644 --- a/data/interactions/photos/la-florida.json +++ b/data/interactions/photos/la-florida.json @@ -1 +1 @@ -{"interactions":[{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/631278994729871476","author":{"name":"Dany","url":"https://mastodon.art/users/danyaero"}},{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/631278994729871476","author":{"name":"Myth2844","url":"https://pixelfed.social/myth2844"}},{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/631278994729871476","author":{"name":"Douglas VB","url":"https://mastodon.social/users/douglasvb"}},{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/631278994729871476","author":{"name":"Bryan 🏳️‍🌈 Mastodon","url":"https://hugs.lgbt/users/riversidebryan"}},{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/631278994729871476","author":{"name":"Shura","url":"https://pixelfed.social/Shura"}},{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/631278994729871476","author":{"name":"Nathan Metzger","url":"https://pixelfed.social/Linuxfan724"}},{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/631278994729871476","author":{"name":"Narek","url":"https://pixelfed.social/Kerobian"}},{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/631278994729871476","author":{"name":"katherine","url":"https://pixelfed.social/frecklefox"}},{"emoji":"🔁","url":"https://pixelfed.social/p/jphastings/631278994729871476","author":{"name":"Oldladymd","url":"https://med-mastodon.com/users/Oldladymd"}},{"emoji":"🔁","url":"https://pixelfed.social/p/jphastings/631278994729871476","author":{"name":"Bryan 🏳️‍🌈 Pixelfed","url":"https://pixelfed.social/RiversideBryan"}}],"reactions":{"⭐️":9,"🔁":2}} +{"interactions":[{"emoji":"⭐️","author":{"name":"Dany","url":"https://mastodon.art/users/danyaero"}},{"emoji":"⭐️","author":{"name":"Myth2844","url":"https://pixelfed.social/myth2844"}},{"emoji":"⭐️","author":{"name":"Douglas VB","url":"https://mastodon.social/users/douglasvb"}},{"emoji":"⭐️","author":{"name":"Bryan 🏳️‍🌈 Mastodon","url":"https://hugs.lgbt/users/riversidebryan"}},{"emoji":"⭐️","author":{"name":"Shura","url":"https://pixelfed.social/Shura"}},{"emoji":"⭐️","author":{"name":"Nathan Metzger","url":"https://pixelfed.social/Linuxfan724"}},{"emoji":"⭐️","author":{"name":"Narek","url":"https://pixelfed.social/Kerobian"}},{"emoji":"⭐️","author":{"name":"katherine","url":"https://pixelfed.social/frecklefox"}},{"emoji":"🔁","author":{"name":"Oldladymd","url":"https://med-mastodon.com/users/Oldladymd"}},{"emoji":"🔁","author":{"name":"Bryan 🏳️‍🌈 Pixelfed","url":"https://pixelfed.social/RiversideBryan"}}],"reactions":{"⭐️":9,"🔁":2}} diff --git a/data/interactions/photos/mums-garden.json b/data/interactions/photos/mums-garden.json index 39b7f579..4193e654 100644 --- a/data/interactions/photos/mums-garden.json +++ b/data/interactions/photos/mums-garden.json @@ -1 +1 @@ -{"interactions":[{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/619856573800023125","author":{"name":"Ben!","url":"https://pixelfed.social/bencord0"}},{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/619856573800023125","author":{"name":"Thomas Zimmermann","url":"https://pixelfed.social/curlingtom"}},{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/619856573800023125","author":{"name":"Ivan Jurišić","url":"https://pixelfed.social/ijurisic"}}]} +{"interactions":[{"emoji":"⭐️","author":{"name":"Ben!","url":"https://pixelfed.social/bencord0"}},{"emoji":"⭐️","author":{"name":"Thomas Zimmermann","url":"https://pixelfed.social/curlingtom"}},{"emoji":"⭐️","author":{"name":"Ivan Jurišić","url":"https://pixelfed.social/ijurisic"}}]} diff --git a/data/interactions/photos/pre-wedding.json b/data/interactions/photos/pre-wedding.json index 44092af0..bb9a45a4 100644 --- a/data/interactions/photos/pre-wedding.json +++ b/data/interactions/photos/pre-wedding.json @@ -1 +1 @@ -{"interactions":[{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/632549785261132608","author":{"name":"alexanderniki","url":"https://pixelfed.social/alexanderniki"}},{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/632549785261132608","author":{"name":"Software Pagan","url":"https://pixelfed.social/softwarepagan"}},{"emoji": "💬", "url":"https://pixelfed.social/p/RiversideBryan/634556807537550283","comment":"Congratulations 🥰","author":{"name":"Bryan 🏳️‍🌈 Pixelfed","url":"https://pixelfed.social/RiversideBryan"},"timestamp":"2023-11-27T01:02:12Z"}]} +{"interactions":[{"emoji":"⭐️","author":{"name":"alexanderniki","url":"https://pixelfed.social/alexanderniki"}},{"emoji":"⭐️","author":{"name":"Software Pagan","url":"https://pixelfed.social/softwarepagan"}},{"emoji": "💬", "url":"https://pixelfed.social/p/RiversideBryan/634556807537550283","comment":"Congratulations 🥰","author":{"name":"Bryan 🏳️‍🌈 Pixelfed","url":"https://pixelfed.social/RiversideBryan"},"timestamp":"2023-11-27T01:02:12Z"}]} diff --git a/data/interactions/photos/sunny-brunch.json b/data/interactions/photos/sunny-brunch.json index d8e83b19..5f893862 100644 --- a/data/interactions/photos/sunny-brunch.json +++ b/data/interactions/photos/sunny-brunch.json @@ -1 +1 @@ -{"interactions":[{"emoji":"⭐️","url":"https://pixelfed.social/p/jphastings/629220605979255535","author":{"name":"Rui","url":"https://pixelfed.social/RJCA_PT"}}]} \ No newline at end of file +{"interactions":[{"emoji":"⭐️","author":{"name":"Rui","url":"https://pixelfed.social/RJCA_PT"}}]} \ No newline at end of file diff --git a/data/interactions/search.json b/data/interactions/search.json deleted file mode 100644 index 932cb4a7..00000000 --- a/data/interactions/search.json +++ /dev/null @@ -1 +0,0 @@ -{"interactions":[{"guid":"webmentions.io#1790184","emoji":"🔁","url":"https://hachyderm.io/@byjp/112053398317306907#reblogged-by-108221131497108772","author":{"name":"Luci for dyeing","url":"https://merveilles.town/@zens"},"timestamp":"2024-03-07T09:11:23Z"},{"guid":"webmentions.io#1790182","emoji":"🔁","url":"https://hachyderm.io/@byjp/112053398317306907#reblogged-by-111626810820500784","author":{"name":"\"You do you\" is Eu-gen-ics.","url":"https://disabled.social/@beadsland"},"timestamp":"2024-03-07T09:11:21Z"},{"guid":"webmentions.io#1790183","emoji":"⭐️","url":"https://hachyderm.io/@byjp/112053398317306907#favorited-by-108221131497108772","author":{"name":"Luci for dyeing","url":"https://merveilles.town/@zens"},"timestamp":"2024-03-07T09:11:21Z"}]} diff --git a/layouts/partials/interactions.html b/layouts/partials/interactions.html index 486fa67e..67ae55ce 100644 --- a/layouts/partials/interactions.html +++ b/layouts/partials/interactions.html @@ -65,7 +65,7 @@
  • {{ partial "partials/reactionsvg.html" (dict "emoji" $thisEm "name" true) -}} {{- range $i, $in := $items -}} - {{ $in.author.name }} + {{ $in.author.name }} {{- if ne $i (sub (len $items) 1) }}, {{ end -}} {{- end -}}