]> git.ardis.lu - ardislu.dev/commitdiff
Update meta tags on home
authorArdis Lu <ardisglu@gmail.com>
Sun, 6 Mar 2022 07:05:25 +0000 (23:05 -0800)
committerArdis Lu <ardisglu@gmail.com>
Sun, 6 Mar 2022 07:05:25 +0000 (23:05 -0800)
script.js

index e3247b398a239c805aba27fbca45e21ccd74c154..5e8cfd0b8eaa79b9a492faf99bf01c0e59878986 100644 (file)
--- 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',
This page took 0.035688 seconds and 4 git commands to generate.