From: Ardis Lu Date: Sun, 27 Feb 2022 05:06:30 +0000 (-0800) Subject: Update document title on home page X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=b1bf5c669e61bc347d5671f1d0eeb00b23c340b1;p=ardislu.dev Update document title on home page --- diff --git a/script.js b/script.js index 83e5d96..0bb9f92 100644 --- a/script.js +++ b/script.js @@ -104,6 +104,7 @@ async function showPage(path) { } if (path === 'home' || path === '') { + document.title = 'ardislu.dev'; homeMain.innerHTML = ''; for (const [path, post] of posts) { homeMain.insertAdjacentHTML('beforeend',