From 91b87a31eaeba1eda241efdfb4a52832d9243639 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Thu, 19 May 2022 17:08:22 +0400 Subject: [PATCH] Added canonical links for articles. --- homepage/views/articles/article.pug | 1 + homepage/views/articles/nginx_recipes_and_tips.pug | 3 +++ homepage/views/articles/rpi_root_on_external_drive.pug | 3 +++ homepage/views/articles/setting_up_a_mail_server.pug | 3 +++ .../views/articles/setting_up_a_tor_proxy_relay_hiddenserv.pug | 3 +++ 5 files changed, 13 insertions(+) diff --git a/homepage/views/articles/article.pug b/homepage/views/articles/article.pug index fa9905c..4932f0b 100644 --- a/homepage/views/articles/article.pug +++ b/homepage/views/articles/article.pug @@ -2,6 +2,7 @@ extends ../base.pug block head link(href='/assets/css/articles.css' rel='stylesheet') + block head_ext block nav nav diff --git a/homepage/views/articles/nginx_recipes_and_tips.pug b/homepage/views/articles/nginx_recipes_and_tips.pug index e8dfbf2..0956736 100644 --- a/homepage/views/articles/nginx_recipes_and_tips.pug +++ b/homepage/views/articles/nginx_recipes_and_tips.pug @@ -1,5 +1,8 @@ extends article.pug +block head_ext + link(rel='canonical' href='https://arav.top/stuff/article/nginx_recipes_and_tips') + block article header h2 NGiNX's recipes & tips diff --git a/homepage/views/articles/rpi_root_on_external_drive.pug b/homepage/views/articles/rpi_root_on_external_drive.pug index 4cc900c..9f8449a 100644 --- a/homepage/views/articles/rpi_root_on_external_drive.pug +++ b/homepage/views/articles/rpi_root_on_external_drive.pug @@ -1,5 +1,8 @@ extends article.pug +block head_ext + link(rel='canonical' href='https://arav.top/stuff/article/rpi_root_on_external_drive') + block article header h2 How to move a root from SD card to external drive on Raspberry Pi diff --git a/homepage/views/articles/setting_up_a_mail_server.pug b/homepage/views/articles/setting_up_a_mail_server.pug index ab85986..0518349 100644 --- a/homepage/views/articles/setting_up_a_mail_server.pug +++ b/homepage/views/articles/setting_up_a_mail_server.pug @@ -1,5 +1,8 @@ extends article.pug +block head_ext + link(rel='canonical' href='https://arav.top/stuff/article/setting_up_a_mail_server') + block article header h2 Setting up a mail server (WIP) diff --git a/homepage/views/articles/setting_up_a_tor_proxy_relay_hiddenserv.pug b/homepage/views/articles/setting_up_a_tor_proxy_relay_hiddenserv.pug index 112e4da..0250df5 100644 --- a/homepage/views/articles/setting_up_a_tor_proxy_relay_hiddenserv.pug +++ b/homepage/views/articles/setting_up_a_tor_proxy_relay_hiddenserv.pug @@ -1,5 +1,8 @@ extends article.pug +block head_ext + link(rel='canonical' href='https://arav.top/stuff/article/setting_up_a_tor_proxy_relay_hiddenserv') + block article header h2 Setting up a Tor proxy, relay and hidden service