From 3626dd74775636b7230303466b73eb9945a43d5b Mon Sep 17 00:00:00 2001 From: Gordon Pedersen Date: Sat, 11 May 2024 16:50:09 +1000 Subject: [PATCH] I'll get it right at some point... --- weblog/B0. Template/fediverse.js.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weblog/B0. Template/fediverse.js.md b/weblog/B0. Template/fediverse.js.md index 16202ce..5f1c3ef 100644 --- a/weblog/B0. Template/fediverse.js.md +++ b/weblog/B0. Template/fediverse.js.md @@ -123,7 +123,7 @@ function fediverse() { const data = JSON.parse(localStorage.getItem('fedi-social') || '{}') document.querySelectorAll("a.external_url:not([href='{external_url}'])").forEach(el => { if(data.template){ - href = template.replace("{uri}", el.href) + href = data.template.replace("{uri}", el.href) const innerHTML = `