Compare commits

..

No commits in common. "33257adc7d7990f3dfedd4f11426e247c269e842" and "f2b530021aa33eb8e6f74cb7ba89f1c4f90f6876" have entirely different histories.

3 changed files with 8 additions and 17 deletions

View file

@ -194,8 +194,7 @@
"words": [
"YouTube",
"ULTRAKILL",
"Lethal Company",
"FreeBSD"
"Lethal Company"
],
"color": "red",
"caseInsensitive": true
@ -238,7 +237,6 @@
"words": [
"Violet",
"Purgatory",
"violets-",
"Limbo",
"The Watcher"
],
@ -356,13 +354,6 @@
"color": "rgb(150, 220, 255)",
"caseInsensitive": true
},
{
"words": [
"Arch"
],
"color": "rgb(0, 255, 255)",
"caseInsensitive": true
},
{
"words": [
"Roblox"

View file

@ -101,7 +101,7 @@ function highlighter(json, full = true) {
if (element.attributes) {
for (var x in element.attributes) {
var attribute = element.attributes[x]
if (attribute.key == "class" && attribute.value.includes("noHighlight")) {
if (attribute.key == "class" && attribute.value == "value") {
valid = false
break
}
@ -307,7 +307,7 @@ function converter(html, dynamic = true) {
for (var x = 0; x < sitesTable.length; x++) {
var siteName = sitesTable[x]
var siteData = sites[siteName]
html += `<a class="chip" ${onlyIfExists(`href="${siteData.url}"`, siteData.url)}>${siteName}: <span class="noHighlight">${siteData.name.replaceAll("Violet", "{Violet}")}</span></a>`
html += `<a class="chip" ${onlyIfExists(`href="${siteData.url}"`, siteData.url)}>${siteName}: ${siteData.name.replaceAll("Violet", "{Violet}")}</a>`
}
html += "</div></div>"

View file

@ -76,11 +76,11 @@
<h2><hr>Services</h2>
<p>List of services for public use hosted on Violet's Purgatory.</p>
<a href="https://sxng.violets-purgatory.dev" class="chip">SearXNG: <span class="noHighlight">sxng.violets-purgatory.dev</span></a>
<!-- <a class="chip">Matrix: matrix.violets-purgatory.dev</a> -->
<!-- <a href="https://element.violets-purgatory.dev" class="chip">Element: element.violets-purgatory.dev</a> -->
<a href="https://git.viois.gay" class="chip">Forgejo: <span class="noHighlight">git.viois.gay</span></a>
<a class="chip">Thumbor: <span class="noHighlight">thumbor.violets-purgatory.dev</span></a>
<a href="https://sxng.violets-purgatory.dev" class="chip">SearXNG: sxng.violets-purgatory.dev</a>
<a class="chip">Matrix: matrix.violets-purgatory.dev</a>
<a href="https://element.violets-purgatory.dev" class="chip">Element: element.violets-purgatory.dev</a>
<a href="https://git.violets-purgatory.dev" class="chip">Forgejo: git.violets-purgatory.dev (contact me for an account)</a>
<a class="chip">Thumbor: thumbor.violets-purgatory.dev</a>
<hr>
<h1>Socials</h1>
{PATH_SOCIALS}