From 932049b1efe41456900d88b766074be1c8ad6188 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sat, 5 Mar 2022 23:05:25 -0800 Subject: [PATCH] Update meta tags on home --- script.js | 2 ++ 1 file changed, 2 insertions(+) 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', -- 2.47.3