Compare commits
5 commits
f2b530021a
...
33257adc7d
Author | SHA1 | Date | |
---|---|---|---|
33257adc7d | |||
8b3fc38e8f | |||
35cfec18e0 | |||
07d488a8c0 | |||
c64daccb2c |
3 changed files with 17 additions and 8 deletions
|
@ -194,7 +194,8 @@
|
||||||
"words": [
|
"words": [
|
||||||
"YouTube",
|
"YouTube",
|
||||||
"ULTRAKILL",
|
"ULTRAKILL",
|
||||||
"Lethal Company"
|
"Lethal Company",
|
||||||
|
"FreeBSD"
|
||||||
],
|
],
|
||||||
"color": "red",
|
"color": "red",
|
||||||
"caseInsensitive": true
|
"caseInsensitive": true
|
||||||
|
@ -237,6 +238,7 @@
|
||||||
"words": [
|
"words": [
|
||||||
"Violet",
|
"Violet",
|
||||||
"Purgatory",
|
"Purgatory",
|
||||||
|
"violets-",
|
||||||
"Limbo",
|
"Limbo",
|
||||||
"The Watcher"
|
"The Watcher"
|
||||||
],
|
],
|
||||||
|
@ -354,6 +356,13 @@
|
||||||
"color": "rgb(150, 220, 255)",
|
"color": "rgb(150, 220, 255)",
|
||||||
"caseInsensitive": true
|
"caseInsensitive": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"words": [
|
||||||
|
"Arch"
|
||||||
|
],
|
||||||
|
"color": "rgb(0, 255, 255)",
|
||||||
|
"caseInsensitive": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"words": [
|
"words": [
|
||||||
"Roblox"
|
"Roblox"
|
||||||
|
|
|
@ -101,7 +101,7 @@ function highlighter(json, full = true) {
|
||||||
if (element.attributes) {
|
if (element.attributes) {
|
||||||
for (var x in element.attributes) {
|
for (var x in element.attributes) {
|
||||||
var attribute = element.attributes[x]
|
var attribute = element.attributes[x]
|
||||||
if (attribute.key == "class" && attribute.value == "value") {
|
if (attribute.key == "class" && attribute.value.includes("noHighlight")) {
|
||||||
valid = false
|
valid = false
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
@ -307,7 +307,7 @@ function converter(html, dynamic = true) {
|
||||||
for (var x = 0; x < sitesTable.length; x++) {
|
for (var x = 0; x < sitesTable.length; x++) {
|
||||||
var siteName = sitesTable[x]
|
var siteName = sitesTable[x]
|
||||||
var siteData = sites[siteName]
|
var siteData = sites[siteName]
|
||||||
html += `<a class="chip" ${onlyIfExists(`href="${siteData.url}"`, siteData.url)}>${siteName}: ${siteData.name.replaceAll("Violet", "{Violet}")}</a>`
|
html += `<a class="chip" ${onlyIfExists(`href="${siteData.url}"`, siteData.url)}>${siteName}: <span class="noHighlight">${siteData.name.replaceAll("Violet", "{Violet}")}</span></a>`
|
||||||
|
|
||||||
}
|
}
|
||||||
html += "</div></div>"
|
html += "</div></div>"
|
||||||
|
|
|
@ -76,11 +76,11 @@
|
||||||
|
|
||||||
<h2><hr>Services</h2>
|
<h2><hr>Services</h2>
|
||||||
<p>List of services for public use hosted on Violet's Purgatory.</p>
|
<p>List of services for public use hosted on Violet's Purgatory.</p>
|
||||||
<a href="https://sxng.violets-purgatory.dev" class="chip">SearXNG: sxng.violets-purgatory.dev</a>
|
<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 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://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 href="https://git.viois.gay" class="chip">Forgejo: <span class="noHighlight">git.viois.gay</span></a>
|
||||||
<a class="chip">Thumbor: thumbor.violets-purgatory.dev</a>
|
<a class="chip">Thumbor: <span class="noHighlight">thumbor.violets-purgatory.dev</span></a>
|
||||||
<hr>
|
<hr>
|
||||||
<h1>Socials</h1>
|
<h1>Socials</h1>
|
||||||
{PATH_SOCIALS}
|
{PATH_SOCIALS}
|
||||||
|
|
Loading…
Reference in a new issue