fix things

This commit is contained in:
taskylizard 2023-11-10 11:33:39 +05:30
parent b31db5fd5e
commit 1e17d03254
No known key found for this signature in database
GPG Key ID: 5CABA3D642DDC497
2 changed files with 14 additions and 14 deletions

View File

@ -5,23 +5,23 @@ headersData = {
"AI.md": ["Artificial Intelligence", "Chat Bots, Text Generators, Image Generators, ChatGPT Tools"], "AI.md": ["Artificial Intelligence", "Chat Bots, Text Generators, Image Generators, ChatGPT Tools"],
"Android-iOSGuide.md": ["Android / iOS", "Apps, Jailbreaking, Android Emulators"], "Android-iOSGuide.md": ["Android / iOS", "Apps, Jailbreaking, Android Emulators"],
"AudioPiracyGuide.md": ["Music / Podcasts / Radio", "Stream Audio, Download Audio, Torrent Audio"], "AudioPiracyGuide.md": ["Music / Podcasts / Radio", "Stream Audio, Download Audio, Torrent Audio"],
"Beginners-Guide.md": [ "Beginners Guide to Piracy", ""], "Beginners-Guide.md": ["Beginners Guide", "A Guide for Beginners to Piracy"],
"DEVTools.md": ["Developer Tools", ""], "DEVTools.md": ["Developer Tools", "Git, Hosting, App Dev, Software Dev"],
"DownloadPiracyGuide.md": ["Downloading", "Download Sites, Software Sites, Open Directories"], "DownloadPiracyGuide.md": ["Downloading", "Download Sites, Software Sites, Open Directories"],
"EDUPiracyGuide.md": ["Educational", "Courses, Documentaries, Learning Resources"], "EDUPiracyGuide.md": ["Educational", "Courses, Documentaries, Learning Resources"],
"GamingPiracyGuide.md": ["Gaming / Emulation", "Download Games, ROMs, Gaming Tools"], "GamingPiracyGuide.md": ["Gaming / Emulation", "Download Games, ROMs, Gaming Tools"],
"LinuxGuide.md": ["Linux / MacOS", "Apps, Software Sites, Gaming"], "LinuxGuide.md": ["Linux / MacOS", "Apps, Software Sites, Gaming"],
"MISCGuide.md": ["Miscellaneous", "Extensions, Indexes, News, Health, Food, Fun"], "MISCGuide.md": ["Miscellaneous", "Extensions, Indexes, News, Health, Food, Fun"],
"NSFWPiracy.md": ["NSFW", ""], "NSFWPiracy.md": ["NSFW", "NSFW Indexes, Streaming, Downloading"],
"Non-English.md": ["Non-English", "International Piracy Sites"], "Non-English.md": ["Non-English", "International Piracy Sites"],
"ReadingPiracyGuide.md": ["Books / Comics / Manga", "Books, Comics, Magazines, Newspapers"], "ReadingPiracyGuide.md": ["Books / Comics / Manga", "Books, Comics, Magazines, Newspapers"],
"STORAGE.md": ["", ""], "STORAGE.md": ["Storage", "Index for everything in the wiki."],
"TOOLSGuide.md": ["Tools", "General Tools, Internet Tools, System Tools"], "TOOLSGuide.md": ["Tools", "General Tools, Internet Tools, System Tools"],
"TorrentPiracyGuide.md": ["Torrenting", "Torrent Clients, Torrent Sites, Trackers"], "TorrentPiracyGuide.md": ["Torrenting", "Torrent Clients, Torrent Sites, Trackers"],
"VideoPiracyGuide.md": ["Movies / TV / Anime", "Stream Videos, Download Videos, Torrent Videos"], "VideoPiracyGuide.md": ["Movies / TV / Anime", "Stream Videos, Download Videos, Torrent Videos"],
"base64.md": ["base64", "Base64 storage"], "base64.md": ["Base64", "Base64 storage"],
"img-tools.md": ["Image Tools", ""], "img-tools.md": ["Image Tools", "Image Editors, Generators, Compress"],
"UnsafeSites.md": ["Unsafe Sites", ""] "UnsafeSites.md": ["Unsafe Sites", "Unsafe/harmful sites to avoid."]
} }
def getHeaderForPage(pageFilename): def getHeaderForPage(pageFilename):

View File

@ -37,9 +37,9 @@ export default defineConfig({
["link", { rel: "apple-touch-icon", href: "/test.png", sizes: "192x192" }], ["link", { rel: "apple-touch-icon", href: "/test.png", sizes: "192x192" }],
], ],
transformHead: async (context) => generateMeta(context, meta.hostname), transformHead: async (context) => generateMeta(context, meta.hostname),
buildEnd: async (context) => { // buildEnd: async (context) => {
generateImages(context); // generateImages(context);
}, // },
vite: { vite: {
plugins: [ plugins: [
UnoCSS({ UnoCSS({