diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-03-30 11:24:00 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-03-30 11:24:00 -0300 |
commit | 06d9ed8c51b1dbf1d79f531f153cdbbbcc1b47a5 (patch) | |
tree | f4cf38380c7633f5edf79e836f561cfc7924c222 /src/util | |
parent | 3989d93998683167fe61c800f884b68f1467be05 (diff) |
external-links: Internet Archive, Wayback Machine
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/external-links.js | 13 |
1 files changed, 13 insertions, 0 deletions
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'}, @@ -495,6 +502,12 @@ export const externalLinkSpec = [ }, { + match: {domain: 'web.archive.org'}, + platform: 'waybackMachine', + icon: 'internetArchive', + }, + + { match: {domains: ['wikipedia.org', '.wikipedia.org']}, platform: 'wikipedia', icon: 'misc', |