update idk
All checks were successful
Deploy website / deploy (push) Successful in 2m1s

This commit is contained in:
2026-03-29 15:50:47 +01:00
parent 8dae4c1b5d
commit af5116d931
12 changed files with 41 additions and 59 deletions

View File

@@ -58,19 +58,13 @@ else {
randomText = `<a href='javascript:void(0)' onclick='randomSite()'>random</a> | `;
}
tag.classList = "webring";
//this is the code that displays the widget - EDIT THIS if you want to change the structure
tag.insertAdjacentHTML('afterbegin', `
<table>
<tr>
<td class='webring-prev'><a href='${sites[previousIndex]}'>prev</a></td>
<td class='webring-info'>This site is part of the ${ringName} webring 😸</br>
<span class='webring-links'>
${randomText}
${indexText}
<a href='https://garlic.garden/onionring/'>onionring</a></span></td>
<td class='webring-next'><a href='${sites[nextIndex]}'>next</a></td>
</tr>
</table>
<a href='${indexPage}'>${ringName}</a><br>
<a href='${sites[previousIndex]}'><--</a>
<a href='${sites[nextIndex]}'>--></a>
`);
}