-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.template.html
41 lines (38 loc) · 1002 Bytes
/
index.template.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
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>James Routley | Feed</title>
<link rel="stylesheet" type="text/css" href="styles.css" media="screen" />
</head>
<body>
<h1>News</h1>
<ol class="postlist">
<!-- prettier-ignore-->
{{ range .Posts }}
<!-- prettier-ignore-->
{{ if ne .Content "" }}
<!-- prettier-ignore-->
<li>
<a href="posts/{{ .Filename }}">{{ .Title }}</a> ({{ .Host }})
</li>
{{ else }}
<li>
<a href="{{ .Link }}">{{ .Title }}</a> ({{ .Host }})
</li>
<!-- prettier-ignore-->
{{ end }}
<!-- prettier-ignore-->
{{ end }}
</ol>
<footer>
<p>
<a href="https://github.com/jamesroutley/news.routley.io"
>What is this?</a
>
</p>
</footer>
</body>
</html>