Files
3dworldring/data/templates/index.html
2026-03-19 04:06:39 -04:00

74 lines
2.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" href="./styles.css">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ ring_name }} </title>
<link rel="icon" type="image/x-icon" href="./3dworldring_logo.ico">
</head>
<body>
<h1>{{ ring_name }} </h1>
<p>{{ ring_description }}</p>
<h5>(this page and demo sites are currently under construction)</h5>
<h2>Please: </h2>
<ul>
<li>Link to webring neighbours in some way within your world.</li>
<li>Have a way to move around the world.</li>
</ul>
<h2> Contact </h2>
<p>Feel free to email the ring owner at cjsatnarine@protonmail.com if you have any questions. Ring owner's website is <a href="https://cjsatnarine.space">cjsatnarine.space</a>. <p>
<p>Add all sites with declared RSS feeds to your feed reader with this <a href ="{{ opml }}">OPML</a> link.</p>
<h2> 3Dworldring Member List </h2>
{% if sites %}
<table>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">URL</th>
<th scope="col">About</th>
<th scope="col">Owner</th>
</tr>
</thead>
<tbody>
{% for site in sites %}
<tr>
<td>{{ site.website.slug }}</td>
<td>
<a href="{{ site.website.url }}" target="_blank">{{ site.website.url }}</a>
{% if site.website.rss %}
<a href="{{ site.website.rss }}" target="_blank">[rss]</a>
{% endif %}
{% if site.website.atom %}
<a href="{{ site.website.atom }}" target="_blank">[atom]</a>
{% endif %}
</td>
<td>{{ site.website.about | default(value="") }}</td>
<td>{{ site.website.owner | default(value="") }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
{% if failed_sites %}
The following member sites were not included in this iteration of the webring:
<ul>
{% for site in failed_sites %}
<li>{{ site.website.url }}</li>
{% endfor %}
</ul>
{% endif %}
<br>
<footer>
<p>Last updated: {{ current_time }} </p>
<p>Powered by <a href="https://github.com/k3rs3d/ringfairy">ringfairy</a>!</p>
</footer>
</body>
</html>