aboutsummaryrefslogtreecommitdiff
path: root/data/templates/index.html
blob: e7f6503d39f842b84a343ac4fdc90dcd8024a969 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{ ring_name }} List</title>
  </head>
  <body>
    <h1>{{ ring_name }} List</h1>
	<p>{{ ring_description }}</p>
    <p>Add all sites with declared RSS feeds to your feed reader with this <a href ="{{ opml }}">OPML</a> link.</p>
    
  {% 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>