From 4b4fe7069a862a25d10a1fde7307ebba4ca63bfa Mon Sep 17 00:00:00 2001 From: ache Date: Tue, 4 Oct 2022 11:08:54 +0200 Subject: Make canonical URL absolute --- src/build/index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build/index.mjs b/src/build/index.mjs index 73ab0bb..89841f9 100644 --- a/src/build/index.mjs +++ b/src/build/index.mjs @@ -106,7 +106,7 @@ for (const article of articles) { const context = { svg, title: `${article.title} - ache`, - canonical: article.url, + canonical: `${baseUrl}${article.url.slice(1)}`, content: article.content, domTitle: article.domTitle, metaData: article.metaData, -- cgit v1.2.3