From 2a016266acf826bcbe4020ce462ff1c9832c8d78 Mon Sep 17 00:00:00 2001 From: Gabor Babicz Date: Mon, 9 Dec 2024 09:07:39 +0100 Subject: [PATCH 1/6] Add Mastodon handle support to author profiles --- .eleventy.js | 5 +++++ src/authors/zeppelin.md | 2 +- src/components/author-socials.njk | 8 ++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.eleventy.js b/.eleventy.js index 3bce290750..b913246ac9 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -225,6 +225,11 @@ module.exports = function (eleventyConfig) { return response.data.replace(" { + const [user, server] = handle.split("@").filter(Boolean); + return `https://${server}/@${user}`; + }); + eleventyConfig.setServerOptions({ watch: ["./dist/assets/css/*.css", "./dist/assets/js/*.js"], }); diff --git a/src/authors/zeppelin.md b/src/authors/zeppelin.md index a13f42c344..74ca7469d3 100644 --- a/src/authors/zeppelin.md +++ b/src/authors/zeppelin.md @@ -1,7 +1,7 @@ --- name: "Gabor Babicz" github: zeppelin -twitter: xeppelin +mastodon: "@gabor@babicz.social" linkedin: xeppelin bio: "Senior Software Engineer" --- diff --git a/src/components/author-socials.njk b/src/components/author-socials.njk index b05538ec3f..8ce43983fd 100644 --- a/src/components/author-socials.njk +++ b/src/components/author-socials.njk @@ -21,6 +21,14 @@ {% endif %} + {% if author.data.mastodon %} +
  • + + {% include 'svg/social-mastodon.njk' %} + {{ author.data.mastodon }} on Mastodon + +
  • + {% endif %} {% endif %} {%- endmacro -%} From 161a2f2b7df09f86f5cc5b702e621ae87c6ae082 Mon Sep 17 00:00:00 2001 From: Gabor Babicz Date: Mon, 9 Dec 2024 09:32:56 +0100 Subject: [PATCH 2/6] Add Bluesky handle support to author profiles --- src/authors/paoloricciuti.md | 1 + src/components/author-socials.njk | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/src/authors/paoloricciuti.md b/src/authors/paoloricciuti.md index 3ca88f27e5..25592932bc 100644 --- a/src/authors/paoloricciuti.md +++ b/src/authors/paoloricciuti.md @@ -3,5 +3,6 @@ name: "Paolo Ricciuti" github: paoloricciuti twitter: paoloricciuti linkedin: paolo-ricciuti-571a91187 +bluesky: paolo.ricciuti.me bio: 'Senior Software Engineer at Mainmatter, Co-creator of sveltelab.dev' --- diff --git a/src/components/author-socials.njk b/src/components/author-socials.njk index 8ce43983fd..2d78ab14f6 100644 --- a/src/components/author-socials.njk +++ b/src/components/author-socials.njk @@ -29,6 +29,14 @@ {% endif %} + {% if author.data.bluesky %} +
  • + + {% include 'svg/social-bluesky.njk' %} + {{ author.data.bluesky }} on Bluesky + +
  • + {% endif %} {% endif %} {%- endmacro -%} From c48ed4b41a9d571a071a658667cb9c4b94002560 Mon Sep 17 00:00:00 2001 From: Gabor Babicz Date: Tue, 10 Dec 2024 09:20:43 +0100 Subject: [PATCH 3/6] Add more Mastodon handles --- src/authors/algo_luca.md | 1 + src/authors/marcoow.md | 1 + src/authors/nickschot.md | 1 + src/authors/oscard0m_.md | 1 + src/authors/paoloricciuti.md | 1 + src/authors/pichfl.md | 1 + src/authors/real_ate.md | 1 + 7 files changed, 7 insertions(+) diff --git a/src/authors/algo_luca.md b/src/authors/algo_luca.md index 70c3da5e0e..9de4dfb958 100644 --- a/src/authors/algo_luca.md +++ b/src/authors/algo_luca.md @@ -2,5 +2,6 @@ name: "Luca Palmieri" github: LukeMathWalker twitter: algo_luca +mastodon: "@algo_luca@hachyderm.io" bio: "Principal Engineering Consultant" --- diff --git a/src/authors/marcoow.md b/src/authors/marcoow.md index b5263b9420..f71ba8cdce 100644 --- a/src/authors/marcoow.md +++ b/src/authors/marcoow.md @@ -3,5 +3,6 @@ name: "Marco Otte-Witte" github: marcoow twitter: marcoow linkedin: marco-otte-witte +mastodon: "@marcoow@mastodon.social" bio: "Founder and Managing Director of Mainmatter" --- diff --git a/src/authors/nickschot.md b/src/authors/nickschot.md index 82643d0dfc..fefc186577 100644 --- a/src/authors/nickschot.md +++ b/src/authors/nickschot.md @@ -2,5 +2,6 @@ name: "Nick Schot" github: nickschot twitter: nickschot +mastodon: "@nickschot@toot.community" bio: "Senior Software Engineer" --- diff --git a/src/authors/oscard0m_.md b/src/authors/oscard0m_.md index e70df80a5a..13831a1250 100644 --- a/src/authors/oscard0m_.md +++ b/src/authors/oscard0m_.md @@ -2,5 +2,6 @@ name: "Oscar Dominguez" github: oscard0m twitter: oscard0m_ +mastodon: "@OscarDOM@mastodon.social" bio: "Software Engineer" --- diff --git a/src/authors/paoloricciuti.md b/src/authors/paoloricciuti.md index 25592932bc..3bda2795d9 100644 --- a/src/authors/paoloricciuti.md +++ b/src/authors/paoloricciuti.md @@ -4,5 +4,6 @@ github: paoloricciuti twitter: paoloricciuti linkedin: paolo-ricciuti-571a91187 bluesky: paolo.ricciuti.me +mastodon: "@paoloricciuti@front-end.social" bio: 'Senior Software Engineer at Mainmatter, Co-creator of sveltelab.dev' --- diff --git a/src/authors/pichfl.md b/src/authors/pichfl.md index bf309cfa95..71a9f48374 100644 --- a/src/authors/pichfl.md +++ b/src/authors/pichfl.md @@ -3,5 +3,6 @@ name: "Florian Pichler" github: pichfl twitter: pichfl linkedin: pichfl +mastodon: "@fp@social.lol" bio: "Consultant for Technology and Design at Mainmatter" --- diff --git a/src/authors/real_ate.md b/src/authors/real_ate.md index f9346e3ea2..47865ba345 100644 --- a/src/authors/real_ate.md +++ b/src/authors/real_ate.md @@ -3,5 +3,6 @@ name: "Chris Manson" github: mansona twitter: real_ate linkedin: realate +mastodon: "@real_ate@mastodon.social" bio: "Senior Software Engineer, Ember Learning Core Team member" --- From 68d4b36e384854b59e551303ba1229316c3d0bd5 Mon Sep 17 00:00:00 2001 From: Gabor Babicz Date: Wed, 11 Dec 2024 17:03:30 +0100 Subject: [PATCH 4/6] Add Nick's Bluesky handle Co-authored-by: Nick Schot --- src/authors/nickschot.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/authors/nickschot.md b/src/authors/nickschot.md index fefc186577..430ee89cad 100644 --- a/src/authors/nickschot.md +++ b/src/authors/nickschot.md @@ -2,6 +2,7 @@ name: "Nick Schot" github: nickschot twitter: nickschot +bluesky: nickschot.bsky.social mastodon: "@nickschot@toot.community" bio: "Senior Software Engineer" --- From 19a2cb17e282135eae01c3fb2c1f7369eeb1ed97 Mon Sep 17 00:00:00 2001 From: Gabor Babicz Date: Thu, 12 Dec 2024 08:47:07 +0100 Subject: [PATCH 5/6] Add Marco's Bluesky handle Co-authored-by: Marco Otte-Witte --- src/authors/marcoow.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/authors/marcoow.md b/src/authors/marcoow.md index f71ba8cdce..001e4e48e2 100644 --- a/src/authors/marcoow.md +++ b/src/authors/marcoow.md @@ -4,5 +4,6 @@ github: marcoow twitter: marcoow linkedin: marco-otte-witte mastodon: "@marcoow@mastodon.social" +bluesky: marcoow.bsky.social bio: "Founder and Managing Director of Mainmatter" --- From db3cb11d5c1a13b79967220e98e0d42e8144a649 Mon Sep 17 00:00:00 2001 From: Gabor Babicz Date: Thu, 12 Dec 2024 08:49:17 +0100 Subject: [PATCH 6/6] Update Florian's & Chris' social media handles --- src/authors/pichfl.md | 2 +- src/authors/real_ate.md | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/authors/pichfl.md b/src/authors/pichfl.md index 71a9f48374..b8f2905997 100644 --- a/src/authors/pichfl.md +++ b/src/authors/pichfl.md @@ -1,8 +1,8 @@ --- name: "Florian Pichler" github: pichfl -twitter: pichfl linkedin: pichfl mastodon: "@fp@social.lol" +bluesky: pichfl.bsky.social bio: "Consultant for Technology and Design at Mainmatter" --- diff --git a/src/authors/real_ate.md b/src/authors/real_ate.md index 47865ba345..e2c8001af9 100644 --- a/src/authors/real_ate.md +++ b/src/authors/real_ate.md @@ -1,7 +1,6 @@ --- name: "Chris Manson" github: mansona -twitter: real_ate linkedin: realate mastodon: "@real_ate@mastodon.social" bio: "Senior Software Engineer, Ember Learning Core Team member"