saudade/sues_virtual_life/config.js

45 lines
883 B
JavaScript
Raw Normal View History

2023-12-10 20:37:03 -08:00
let currentPage = location.pathname.split("/").at(-2);
2023-06-14 12:18:54 -07:00
2023-12-10 20:37:03 -08:00
const waybackSiteBase = "http://boardwalkerz.com/svl/";
2023-06-14 12:18:54 -07:00
const pageMetadata = {
2023-12-10 20:37:03 -08:00
sues_virtual_life: {
captureId: "20150810211140",
sourcePageName: "",
},
past: {
captureId: "20160109091352",
sourcePageName: "past.html",
},
links: {
captureId: "20150918005946",
sourcePageName: "links.html",
},
catz: {
captureId: "20160108073105",
sourcePageName: "catz.html",
},
dogz: {
captureId: "",
sourcePageName: "dogz.html",
},
other: {
captureId: "",
sourcePageName: "other.html",
},
babyz: {
captureId: "",
sourcePageName: "babyz.html",
},
archive: {
captureId: "",
sourcePageName: "archive.html",
},
};
2023-06-14 12:18:54 -07:00
export const wayback =
2023-12-10 20:37:03 -08:00
pageMetadata[currentPage].captureId +
"/" +
waybackSiteBase +
pageMetadata[currentPage].sourcePageName;