/
entries.html
43 lines (30 loc) · 1000 Bytes
/
entries.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
<!DOCTYPE html>
<html>
{{> head}}
<body>
{{> header}}
<small style="margin-top: -.625em;display: block;">
{{#pagination.previous}}Page {{pagination.current}} of {{pagination.total}}{{/pagination.previous}}
{{^pagination.previous}}Latest posts:{{/pagination.previous}}
</small>
<br><br>
{{#entries}}
<a href="{{{url}}}" class="row"><b>{{title}}</b> {{#date}} · <span style="white-space: nowrap;">{{date}}</span>{{/date}}</a>
{{/entries}}
<br><br><br>
{{#pagination}}
{{#previous}}
<a class="menu" href="/page/{{previous}}">← Newer posts</a>
{{/previous}}
{{#next}}
<a class="menu" href="/page/{{next}}">Next page →</a>
{{/next}}
<hr class="full">
<div style="text-align: right;">
<small>Page {{current}} of {{total}}</small>
</div>
{{/pagination}}
<br>
{{> footer}}
</body>
</html>