From 3606b3879d683d0287308c1e22e8e309115ba8c9 Mon Sep 17 00:00:00 2001 From: Gordon Pedersen Date: Sat, 11 May 2024 16:48:37 +1000 Subject: [PATCH] more minor fixes --- weblog/B0. Template/fediverse.js.md | 1 + weblog/B0. Template/template-post.html.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/weblog/B0. Template/fediverse.js.md b/weblog/B0. Template/fediverse.js.md index ba4ffdf..16202ce 100644 --- a/weblog/B0. Template/fediverse.js.md +++ b/weblog/B0. Template/fediverse.js.md @@ -123,6 +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) const innerHTML = ` diff --git a/weblog/B0. Template/template-post.html.md b/weblog/B0. Template/template-post.html.md index 5d4d1a1..18a02e7 100644 --- a/weblog/B0. Template/template-post.html.md +++ b/weblog/B0. Template/template-post.html.md @@ -8,8 +8,8 @@ Title: Post Template {body}