From 710d08003102bd60511c3c4163e94d45a5fb387e Mon Sep 17 00:00:00 2001 From: Ayo Date: Tue, 30 May 2023 19:01:02 +0200 Subject: [PATCH] add and use fedi-url --- _includes/head.html | 9 +++++- _layouts/post.html | 28 +++++++++---------- ...23-05-27-coven-of-wisdom-amsterdam-2023.md | 1 + ...2023-05-28-stopped-tracking-on-my-sites.md | 1 + .../2023-05-29-mind-numbing-technical-debt.md | 1 + assets/main.scss | 1 + 6 files changed, 26 insertions(+), 15 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index 67f7099..c6098e2 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -128,7 +128,14 @@ repliesTable.append(row); }); - repliesSection.innerHTML = "

Web Mentions:

"; + repliesSection.innerHTML = `

Web Mentions

Replies across{% if page.fedi-url %} + + {% endif %} + the Fediverse + {% if page.fedi-url %} + + {% endif %} and the Web...

`; + repliesSection.append(repliesTable); } diff --git a/_layouts/post.html b/_layouts/post.html index 2863662..4baf91b 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -15,21 +15,21 @@ layout: default
- diff --git a/_posts/2023-05-27-coven-of-wisdom-amsterdam-2023.md b/_posts/2023-05-27-coven-of-wisdom-amsterdam-2023.md index 0ebe6be..996ffc8 100644 --- a/_posts/2023-05-27-coven-of-wisdom-amsterdam-2023.md +++ b/_posts/2023-05-27-coven-of-wisdom-amsterdam-2023.md @@ -6,6 +6,7 @@ image-attrib: Lee Ravenberg image-alt: Presenting Astro app creation in front of a crowd description: "Fun squeezing awesome Astro stuff into a tiny meetup talk" category: talks +fedi-url: https://social.ayco.io/@ayo/110458702211742875 --- Last month I gave a quick talk about [Astro](https://astro.build) in the very first [Coven of Wisdom meetup held in Amsterdam](https://www.meetup.com/coven-of-wisdom-amsterdam/events/292064053/). Had lots of fun talking about my current favorite framework! diff --git a/_posts/2023-05-28-stopped-tracking-on-my-sites.md b/_posts/2023-05-28-stopped-tracking-on-my-sites.md index 55ce4fd..6244031 100644 --- a/_posts/2023-05-28-stopped-tracking-on-my-sites.md +++ b/_posts/2023-05-28-stopped-tracking-on-my-sites.md @@ -7,6 +7,7 @@ image-attrib-url: https://metapixl.com/p/ayo/566394313649618586 image-alt: An empty bench in front of a calm river on a sunny day description: "I was never happy about being tracked, why should I do that to others?" category: personal +fedi-url: https://social.ayco.io/@ayo/110448123075434123 --- Back in 2021, I deleted my Facebook account that had thousands of connections, and created a new one just for closest family members and friends. diff --git a/_posts/2023-05-29-mind-numbing-technical-debt.md b/_posts/2023-05-29-mind-numbing-technical-debt.md index 8dfcf38..80e1b27 100644 --- a/_posts/2023-05-29-mind-numbing-technical-debt.md +++ b/_posts/2023-05-29-mind-numbing-technical-debt.md @@ -7,6 +7,7 @@ image-alt: Wooden scaffolding, concrete hollow-blocks and metal brackets in a di image-attrib-url: https://photos.app.goo.gl/nSnUH5fATXQxkq3w7 category: technology permalink: /:title/ +fedi-url: https://social.ayco.io/@ayo/110453508839920551 --- As I begin to write this, I'm waiting for a re-run of all the [end-to-end tests](https://www.browserstack.com/guide/end-to-end-testing) for a frontend project to finish. diff --git a/assets/main.scss b/assets/main.scss index 4968521..e947ed3 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -436,6 +436,7 @@ table.image caption { } } &__replies { + margin: 2em 0; max-width: fit-content; .reply-block { display: block;