go-webring/index.html
iacore 9aa75639f9
Update instructions
* Read index.html from repo
2023-12-04 14:03:43 +00:00

37 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>exoring (a webring)</title>
</head>
<body>
<h1>Hello!</h1>
<p>This is a web ring. <a href="https://sr.ht/~amolith/go-webring/">go-webring</a></p>
<h2>Usage</h2>
<p>To add you website to the ring, edit <code>/srv/http/pages/.ring/list.txt</code>. The format is <code>YOUR_ID https://your-web-site/where-the-webring-links-are/</code></p>
<p>Then, use Copy Link on links below and put those links on your website. Remember to replace placeholder inside each link with your own.</p>
<li><a href="random">Random in ring</a></li>
<li><a href="next?id=YOURID">Next in ring (by id)</a></li>
<li><a href="previous?id=YOURID">Previous in ring (by id)</a></li>
<li><a href="next?urlpart=example.com">Next in ring (by part of url)</a></li>
<li><a href="previous?urlpart=example.com">Previous in ring (by part of url)</a></li>
<p>(legacy feature: <code>host=xxx</code> works the same as <code>urlpart=xxx</code> now)</p>
<h2>Websites in ring</h2>
<table>
{{ . }}
</table>
</body>
</html>