-
Notifications
You must be signed in to change notification settings - Fork 3
/
site_html.html
33 lines (33 loc) · 1.3 KB
/
site_html.html
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
<!DOCTYPE html>
<html>
<head>
<title>{{site.title}}</title>
<meta name="site-uri" content="{{page.uri}}">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; style-src *;">
<link id="default-style" rel="stylesheet" type="text/css" href="{{'assets/embed.css' | relative_url}}">
<script type="text/javascript" src="{{'assets/embed.js' | relative_url}}"></script>
</head>
<body>
{% if page.previous %}
{% assign prev = page.previous %}
{% else %}
{% assign prev = site.websites | sort: 'date' | last %}
{% endif %}
{% if page.next %}
{% assign next = page.next %}
{% else %}
{% assign next = site.websites | sort: 'date' | first %}
{% endif %}
<p class="badge"><span class="site-name">{{page.title}}</span> is a member of the <span class="webring-name">{{site.title}}</span> webring</p>
<div class="links">
<a class="link previous" href="{{prev.uri}}" title="{{prev.title}}: {{prev.desc}}" rel="noopener external" target="_parent">
Previous
</a>
<a class="link next" href="{{next.uri}}" title="{{next.title}}: {{next.desc}}" rel="noopener external" target="_parent">
Next
</a>
<a class="link random" href="#">Random</a>
<a class="link all" href="{{'/sites' | relative_url}}" rel="noopener external" target="_parent">Site List</a>
</div>
</body>
</html>