From bda31c6e71685413018bc60c274277205a8855a2 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Tue, 13 Feb 2024 22:54:51 +0100 Subject: [PATCH] sitemap: prefer https protocol for absolute site references --- Shiar_Sheet/Keyboard.pm | 2 +- digraphs.vim.plp | 2 +- robots.txt.plp | 2 +- tools/mksitemap | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Shiar_Sheet/Keyboard.pm b/Shiar_Sheet/Keyboard.pm index 1200003..c7e455b 100644 --- a/Shiar_Sheet/Keyboard.pm +++ b/Shiar_Sheet/Keyboard.pm @@ -243,7 +243,7 @@ Shiar_Sheet::Keyboard - Output HTML for key sheets =head1 DESCRIPTION -Used by http://sheet.shiar.nl to display keyboard sheets. +Used by https://sheet.shiar.nl to display keyboard sheets. Assumes specific stylesheets and javascript from this site, so probably not of much use elsewhere. diff --git a/digraphs.vim.plp b/digraphs.vim.plp index 9883031..c659288 100644 --- a/digraphs.vim.plp +++ b/digraphs.vim.plp @@ -6,7 +6,7 @@ use open IO => ':utf8'; our $VERSION = 'v1.0'; $header{content_type} = 'text/plain; charset=us-ascii'; -say '" vim digraph proposals '; +say '" vim digraph proposals '; PLP_END { print "\n" }; open my $include, '<', 'shiar.inc.txt' or do { diff --git a/robots.txt.plp b/robots.txt.plp index 15e80a3..9b91707 100644 --- a/robots.txt.plp +++ b/robots.txt.plp @@ -6,5 +6,5 @@ say 'User-agent: *'; say 'Disallow: ', $Dev ? '/' : '/source/*::*'; #say 'Disallow: /font/*?q=*'; :> -Sitemap: http://sheet.shiar.nl/sitemap.xml +Sitemap: https://sheet.shiar.nl/sitemap.xml Host: sheet.shiar.nl diff --git a/tools/mksitemap b/tools/mksitemap index ce2ce87..cbffc0b 100755 --- a/tools/mksitemap +++ b/tools/mksitemap @@ -53,7 +53,7 @@ for my $group (@pages) { }; print ''; - print "http://sheet.shiar.nl/$page"; + print "https://sheet.shiar.nl/$page"; printf '%s', $freq{$page} // 'monthly'; printf '%.2f', $prio; printf '%s', localtime($stat->mtime)->date; -- 2.30.0