Add index.html

This commit is contained in:
iacore 2023-12-04 13:34:35 +00:00
parent c676971b9b
commit a93a966c60
Signed by: iacore
GPG key ID: F8C16E5157A63006
2 changed files with 32 additions and 3 deletions

4
.gitignore vendored
View file

@ -2,8 +2,6 @@
#
# SPDX-License-Identifier: CC0-1.0
# Big HTML webpage generated with pandoc
index.html
# Build directory
/out/
/go-webring

31
index.html Normal file
View file

@ -0,0 +1,31 @@
<!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>Put the links below in your website!</p>
<li><a href="random">Random website in ring</a></li>
<li><a href="next?host=example.com">Next website in ring</a> (remember to change <code>host</code> query parameter to exactly what you put in the list (also displayed below))</li>
<li><a href="previous?host=example.com">Previous website in ring</a></li>
<p>Then, edit /srv/http/pages/.ring/list.txt to add your website to the list.</p>
<h2>Websites in ring</h2>
<table>
{{ . }}
</table>
</body>
</html>