From 9298fff1d57d4f20f68f7a70a6aa1c8aadb9a5a2 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 3 Jun 2023 23:31:07 +0400 Subject: [PATCH] Added rel='canonical' to all pages. --- web/templates/about.pug | 1 + web/templates/guestbook.pug | 1 + web/templates/index.pug | 1 + web/templates/mindflow.pug | 1 + web/templates/stuff.pug | 3 +++ 5 files changed, 7 insertions(+) diff --git a/web/templates/about.pug b/web/templates/about.pug index 7362ecc..32a26ef 100755 --- a/web/templates/about.pug +++ b/web/templates/about.pug @@ -5,6 +5,7 @@ block meta_description block append head link(href='/assets/css/about.css' rel='stylesheet') + link(rel='canonical' href='/about') block nav a(href='/') Home diff --git a/web/templates/guestbook.pug b/web/templates/guestbook.pug index 8ee1406..2b9e53b 100755 --- a/web/templates/guestbook.pug +++ b/web/templates/guestbook.pug @@ -12,6 +12,7 @@ block meta_description block append head link(href='/assets/css/guestbook.css' rel='stylesheet') script(src='/assets/js/captcha_refresh.js' defer='') + link(rel='canonical' href='/guestbook') block nav a(href='/') Home diff --git a/web/templates/index.pug b/web/templates/index.pug index f248467..e4b5ed9 100755 --- a/web/templates/index.pug +++ b/web/templates/index.pug @@ -5,6 +5,7 @@ block meta_description block append head link(href='assets/css/index.css' rel='stylesheet') + link(rel='canonical' href='/') block nav a(href='/stuff') Stuff diff --git a/web/templates/mindflow.pug b/web/templates/mindflow.pug index a7e25e4..7882c3f 100755 --- a/web/templates/mindflow.pug +++ b/web/templates/mindflow.pug @@ -6,6 +6,7 @@ block meta_description block append head link(href='/assets/css/mindflow.css' rel='stylesheet') script(src='/assets/js/mindflow.js' defer='') + link(rel='canonical' href='/mindflow') block nav a(href='/') Home diff --git a/web/templates/stuff.pug b/web/templates/stuff.pug index fc3567d..b80fa20 100755 --- a/web/templates/stuff.pug +++ b/web/templates/stuff.pug @@ -3,6 +3,9 @@ extends base.pug block meta_description meta(name='description' content="Here I share my programs, scripts, articles, may be other stuff.") +block head + link(rel='canonical' href='/stuff') + block nav a(href='/') Home a(href='/mindflow') Mindflow