This commit is contained in:
Bingus_Violet 2024-02-08 18:28:33 -06:00
parent a82a374f20
commit ed62041e65
4 changed files with 71 additions and 7 deletions

View file

@ -5,6 +5,7 @@ var config = JSON.parse(fs.readFileSync(path.join(__dirname, 'config.json')))
var highlightedWords = config.highlightedWords
var quotes = config.quotes
var titles = config.titles
var commitCount = "300+"
@ -59,6 +60,8 @@ function converter(html) {
html = html.replaceAll("{QUOTE_COUNT}", quotes.length)
html = html.replaceAll("{RANDOM_TITLE}", titles[Math.floor(Math.random() * titles.length)])
return html
}