From 4fe528f14167801e2ea4ce651a94f342e79de7bb Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 13 Aug 2023 01:21:16 +0400 Subject: [PATCH] Fixed rel='canonical' href. --- web/templates/article.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/templates/article.pug b/web/templates/article.pug index f14bcb6..db0b4c3 100644 --- a/web/templates/article.pug +++ b/web/templates/article.pug @@ -5,7 +5,7 @@ block meta_description block append head link(href='/assets/css/articles.css' rel='stylesheet') - link(rel='canonical' href='#{host}/stuff/article/#{canonical}') + link(rel='canonical' href='/stuff/article/'+canonical) block nav a(href='/') Home