go-webring/index.html

37 lines
1.3 KiB
HTML
Raw Permalink Normal View History

2023-12-04 13:34:35 +00:00
<!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>
2023-12-04 13:58:29 +00:00
<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>
2023-12-04 13:34:35 +00:00
2023-12-04 13:50:10 +00:00
<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>
2023-12-04 13:34:35 +00:00
<h2>Websites in ring</h2>
<table>
{{ . }}
</table>
</body>
</html>