Compare commits
5 commits
3fd257cbe7
...
4174fa42eb
Author | SHA1 | Date | |
---|---|---|---|
4174fa42eb | |||
a8bab330c8 | |||
fb5d513545 | |||
6ee2f51f28 | |||
6a1b11f77f |
4 changed files with 8 additions and 1 deletions
|
@ -285,6 +285,9 @@
|
|||
},
|
||||
"YIP": {
|
||||
"italicized": true
|
||||
},
|
||||
"Lethal Company": {
|
||||
"color": "red"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -398,6 +398,9 @@ function pregenerate() {
|
|||
pregenFiles[i].html = converter(fs.readFileSync(pregenFiles[i].absolutePath).toString(), false)
|
||||
pregenFiles[i].html = pregenFiles[i].html.replaceAll("{PREGEN_TIME}", Date.now() - startTime)
|
||||
}
|
||||
for (var i = 0; i < pregenFiles.length; i++) {
|
||||
pregenFiles[i].html = pregenFiles[i].html.replaceAll("{PREGEN_TOTAL}", Date.now() - lastPregen)
|
||||
}
|
||||
}
|
||||
|
||||
pregenerate()
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
<p>I like the way it looks to have certain words be highlighted, makes it look fancier and easier to read (imo). So, when I remade this site, I went ahead and added an <em>Automatic Word Highlighting System!</em> This allows me have words automatically highlighted, on the server side, without having to do it in the code manually. Here's the current list of highlighted words:</p>
|
||||
<p class="textBlock">{ALL_HIGHLIGHTS}</p>
|
||||
<p>As time continues, more words are added to the highlighting list, and I'm slowly adding more features, like disabling case sensitivity, boldness, italics, outlines, and more.</p>
|
||||
<p>You may notice some highlighted words are "missing" on this list. This is because <em>characters adjacent to the highlighted word are highlighted, too!</em> What that means is, I can type HolyCowabungaILoveUltrakillItsSoEpic and it'll all be highlighted!</p>
|
||||
<p>You may notice some highlighted words are "missing" on this list. This is because <em>characters adjacent to the highlighted word are highlighted, too!</em> What that means is, I can type ILoveTetoTuesday! and it'll all be highlighted!</p>
|
||||
<p class="note">P.S. If you're wondering what YIP is for, its for YIPPEEEEEEEEEEEEEEEEEEEEEE!</p>
|
||||
<br>
|
||||
<h3>I thought the site doesn't use Javascript? So why is it there?</h3>
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
<ul>
|
||||
<li>Page generation time: {LOAD_TIME}</li>
|
||||
<li>Pregeneration time: {PREGEN_TIME}ms</li>
|
||||
<li>Total Pregen time (all pages): {PREGEN_TOTAL}ms</li>
|
||||
<li>Uptime: {UPTIME}</li>
|
||||
<li>Last Lanyard update: {LAST_LANYARD}</li>
|
||||
<li>Last Pregeneration: {LAST_PREGEN}</li>
|
||||
|
|
Loading…
Reference in a new issue