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}