From 06d9ed8c51b1dbf1d79f531f153cdbbbcc1b47a5 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 30 Mar 2024 11:24:00 -0300 Subject: external-links: Internet Archive, Wayback Machine --- src/util/external-links.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/util') diff --git a/src/util/external-links.js b/src/util/external-links.js index 9130cacc..d82ba47a 100644 --- a/src/util/external-links.js +++ b/src/util/external-links.js @@ -334,6 +334,13 @@ export const externalLinkSpec = [ icon: 'instagram', }, + // The Wayback Machine is a separate entry. + { + match: {domain: 'archive.org'}, + platform: 'internetArchive', + icon: 'internetArchive', + }, + { match: {domain: '.itch.io'}, @@ -494,6 +501,12 @@ export const externalLinkSpec = [ icon: 'twitter', }, + { + match: {domain: 'web.archive.org'}, + platform: 'waybackMachine', + icon: 'internetArchive', + }, + { match: {domains: ['wikipedia.org', '.wikipedia.org']}, platform: 'wikipedia', -- cgit 1.3.0-6-gf8a5