-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.html
51 lines (45 loc) · 1.08 KB
/
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
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Newsboat</title>
<style>
* {
white-space: normal;
}
body {
font-family: sans-serif;
padding: 2em;
white-space: normal;
}
.nb-article-list {
display: flex;
flex-direction: column;
gap: 2em;
}
.nb-article-list * {
font-size: inital!important;
}
</style>
</head>
<body>
<section class="nb-article-list">
{{ range .Items }}
<article>
<h1>
<a href="{{ .Url }}" target="_blank">{{ .Title }}</a>
</h1>
<div style="text-decoration:underline; margin-bottom:1em;">
{{ if ne .Author "" }}By {{ .Author }} on{{ end }}
{{ .PubDate }}
</div>
<div style="margin-left:4em;">
{{ .Content }}
</div>
</article>
{{ end }}
</section>
</body>
</html>