blob: 3cd624e5923d7e6b86e5910bc9a4b4f2cef1b3ac (
plain)
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
|
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
<title>
Recent Posts
</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta name="description" content="Recent Posts" />
<meta name="author" content="{{ .Site.Params.author }}" />
<link rel="stylesheet" href="{{ `/css/main.css` | relURL }}" />
<link rel="stylesheet" href="{{ `/css/pagination.css` | relURL }}" />
<link
href="https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;600&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Inconsolata&display=swap"
rel="stylesheet"
/>
</head>
<body>
{{$paginator := .Paginate (where .Site.Pages "Kind" "page").ByDate.Reverse 3 }}
<main>
{{ range $paginator.Pages }}
{{ partial "listPage" . }}
{{ end }}
<div>
{{ template "_internal/pagination.html" . }}
</div>
</main>
</body>
</html>
|