From 8745e8cf10675a6990e0a35b441eca57412dd866 Mon Sep 17 00:00:00 2001 From: Bingus_Violet Date: Fri, 26 Jan 2024 16:51:27 +0000 Subject: [PATCH 1/3] Even more quotes --- config.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/config.json b/config.json index 62bcb74..6579ad5 100644 --- a/config.json +++ b/config.json @@ -15,7 +15,15 @@ "Also try lunasother.nl :3", "I'll finally add that commit count thingy... someday...", "Play Cave Story!", - "Cave Story+ Sucks!" + "Cave Story+ Sucks!", + "Running out of quote ideas", + "Fun fact: The quote at my bottom is actually my discord status :/", + "World's Worst Developer", + "Remember when I used to call myself a 'Game Developer'?", + "Why are arrays and dictionaries in JSON files way more strict than in Javascript??
No like seriously why cant I use quotes instead of quotation marks :/", + "Bored", + "This website is way too empty T^T", + "Did you know there are currently {QUOTE_COUNT} quotes?" ], "thumborInstances": [ From bf54a2c1b47dc2cdfe0f4e493ff2b647e88840b5 Mon Sep 17 00:00:00 2001 From: Bingus_Violet Date: Fri, 26 Jan 2024 16:53:59 +0000 Subject: [PATCH 2/3] Now shows quote count on that one quote --- index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 27d32b8..79a66be 100644 --- a/index.js +++ b/index.js @@ -279,7 +279,11 @@ function pageUpdate() { html = html.replace("{THUMBOR}", getThumbor()) - html = html.replace("{RANDOM_QUOTE}", randomQuotes[Math.floor(Math.random() * randomQuotes.length)]) + var quote = randomQuotes[Math.floor(Math.random() * randomQuotes.length)] + + quote = quote.replace("{QUOTE_COUNT}", randomQuotes.length) + + html = html.replace("{RANDOM_QUOTE}", quote) if (process.env.BRANCH == "dev") { html = html.replace("{OPPOSITE_URL}", "www") From 193210c7d3c391c2779183923b3e856c1df0b67a Mon Sep 17 00:00:00 2001 From: Bingus_Violet Date: Fri, 26 Jan 2024 17:08:13 +0000 Subject: [PATCH 3/3] EVEEEEN MOREEE QUOTESSSS --- config.json | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/config.json b/config.json index 6579ad5..7cbff45 100644 --- a/config.json +++ b/config.json @@ -23,7 +23,33 @@ "Why are arrays and dictionaries in JSON files way more strict than in Javascript??
No like seriously why cant I use quotes instead of quotation marks :/", "Bored", "This website is way too empty T^T", - "Did you know there are currently {QUOTE_COUNT} quotes?" + "Did you know there are currently {QUOTE_COUNT} quotes?", + "Seriously need to optimize this site", + "Maybe I should add an image cache instead of using a bunch of image proxies...", + "I'm gonna take down that sxng instance one day!", + "Can't wait to start self hosting this site", + "You had a 1/{QUOTE_COUNT} chance in getting tihs quote. Same with any other quote, I guess", + "It said there was {QUOTE_COUNT} quotes but there was one less when I checked... maybe im just insane...", + "I don't know if i'm gonna keep the blog around or not :/", + "Literally just dumping whatever 2 iq thought comes into my mind into this file for more quotes", + "Maybe I should make a discord server.
Maybe I should hook up this quote thing to said Discord server. Idk :3", + "I should really remove the google font :yuu:", + "Is sharing your IP reallyy that bad?", + "The worst git user to exist", + "This idiot has no idea how branches work", + "Having issues? Try reporting an ID-10-T error on the codeberg :D", + "No I don't use Github", + "I'm still sad about that one person who liked one of my repositories on Github but not on codeberg :(", + "I get no attention on codeberg!!", + "My fedi is dead! And so is my youtube I guess! I guess my Github too...", + "I think {QUOTE_COUNT} is enough quotes at this point...", + "I'm really just finding excuses to throw the quote count ({QUOTE_COUNT}) in as many quotes as I can because i had to spend 2 seconds making it :3", + "Please check out Univerter!", + "Please check out SteamRPC! (Linux only)", + "Please check out the api for this site :3", + "Please check out the beta!", + "Simpletube? Hah, I hardly remember her... its been a long time hasn't it... Maybe i'll return to it one day soon...", + "Okay I REALLY need an image cache :/" ], "thumborInstances": [