From: Ardis Lu Date: Sun, 6 Mar 2022 07:05:25 +0000 (-0800) Subject: Update meta tags on home X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=932049b1efe41456900d88b766074be1c8ad6188;p=ardislu.dev Update meta tags on home --- diff --git a/script.js b/script.js index e3247b3..5e8cfd0 100644 --- a/script.js +++ b/script.js @@ -118,6 +118,8 @@ async function showPage(path) { if (path === '/home' || path === '/') { document.title = 'ardislu.dev'; + head.description.content = 'Notes on web development, crypto, self-hosting, and tech in general.'; + head.canonical.href = 'https://ardislu.dev'; homeMain.innerHTML = ''; for (const [path, post] of posts) { homeMain.insertAdjacentHTML('beforeend',