diff --git a/_includes/head.html b/_includes/head.html index 3b880e9..86d5b0f 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -73,32 +73,34 @@ rel="stylesheet" /> - + const ignorePaths = [ + "/", + "/categories/", + "/about/", + "/technology/", + "/personal/", + "/projects/", + "/talks/", + "/productivity/", + "/motivational/", + ]; + const url = new URL( + document.URL.replace("http://localhost:4000", "https://ayos.blog") + ); + if (!ignorePaths.includes(url.pathname)) { + const mentions = getMentions(url.toString()) + .then((mentions) => { + renderMentions(mentions, ".blog-post__web-mentions"); + }) + .catch((err) => console.log("err", err)); + } + + --> diff --git a/_includes/message.html b/_includes/message.html index 5916672..7cead5b 100644 --- a/_includes/message.html +++ b/_includes/message.html @@ -47,20 +47,23 @@ > Read the full message » - + + --> diff --git a/_layouts/default.html b/_layouts/default.html index 8563479..6a97784 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -24,11 +24,13 @@