From 1c031ce8912470b0738c4434e716c0e99f739220 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Mon, 10 Oct 2022 21:35:28 -0700 Subject: [PATCH] auto clean dead links, linter conf update --- layouts/partials/webmentions.html | 2 +- linter-configs/hintrc | 5 ++++- linter-configs/htmltest.yml | 2 ++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/layouts/partials/webmentions.html b/layouts/partials/webmentions.html index f873c90..4ce47d5 100644 --- a/layouts/partials/webmentions.html +++ b/layouts/partials/webmentions.html @@ -1,4 +1,4 @@ -{{- $wbmLinks := (slice "https://si3t.ch/log/2021-04-18-entetes-floc.html" "https://xmpp.org/2021/02/newsletter-02-feburary/" "https://gurlic.com/technology/post/393626430212145157" "https://gurlic.com/technology/post/343249858599059461" "https://www.librepunk.club/@penryn/108411423190214816" "https://benign.town/@josias/108457015755310198" "http://www.tuxmachines.org/node/148146" "https://i.reddit.com/r/web_design/comments/k0dmpj/an_opinionated_list_of_best_practices_for_textual/gdmxy4u/" "https://bbbhltz.space/posts/thoughts-on-tech-feb2021/" "https://jorts.horse/@alice/108477866954580532" "https://brid.gy/comment/mastodon/@Seirdy@pleroma.envs.net/AK7FeQ4h2tUCKNwlXc/AK7GtGkE7JOVgm1Cgi" "https://fosstodon.org/@werwolf/108529382741681838" "https://mastodon.social/@WahbAllat/108986614624476982") -}} +{{- $wbmLinks := (slice "https://si3t.ch/log/2021-04-18-entetes-floc.html" "https://xmpp.org/2021/02/newsletter-02-feburary/" "https://gurlic.com/technology/post/393626430212145157" "https://gurlic.com/technology/post/343249858599059461" "https://www.librepunk.club/@penryn/108411423190214816" "https://benign.town/@josias/108457015755310198" "http://www.tuxmachines.org/node/148146" "https://i.reddit.com/r/web_design/comments/k0dmpj/an_opinionated_list_of_best_practices_for_textual/gdmxy4u/" "https://bbbhltz.space/posts/thoughts-on-tech-feb2021/" "https://jorts.horse/@alice/108477866954580532" "https://brid.gy/comment/mastodon/@Seirdy@pleroma.envs.net/AK7FeQ4h2tUCKNwlXc/AK7GtGkE7JOVgm1Cgi" "https://fosstodon.org/@werwolf/108529382741681838" "https://mastodon.social/@WahbAllat/108986614624476982" "https://linuxrocks.online/@friend/109029028283860044" "https://fosstodon.org/@fullstackthaumaturge/108765040526523487") -}} {{- $archivetodayLinks := (slice "https://example.com") -}}
diff --git a/linter-configs/hintrc b/linter-configs/hintrc index 49ee33b..f4630dd 100644 --- a/linter-configs/hintrc +++ b/linter-configs/hintrc @@ -80,7 +80,10 @@ "no-vulnerable-javascript-libraries": "off", "html-checker": "off", "image-optimization-cloudinary": "off", - "no-disallowed-headers": "error", + "no-disallowed-headers": [ "error", + { + "ignore": ["x-frame-options"] + }], "meta-charset-utf-8": "error", "disown-opener": "error", "content-type": ["error", { diff --git a/linter-configs/htmltest.yml b/linter-configs/htmltest.yml index 3fac7bb..3677778 100644 --- a/linter-configs/htmltest.yml +++ b/linter-configs/htmltest.yml @@ -53,4 +53,6 @@ IgnoreURLs: - "https://forum.kuketz-blog.de/viewtopic.php" - "https://web.archive.org/" # the wayback machine itself. - "https://webring.yesterweb.org/noJS/index.php" # Seems to block htmltest; check manually + - "https://gitweb.torproject.org/tor-browser.git/tree/browser/components/securitylevel/SecurityLevel.jsm.id=ffdf" # Seems to block htmltest; check manually + - "https://lnk.dk" # blocks htmltest OutputDir: "linter-configs/htmltest"