27 lines
1.4 KiB
HTML
27 lines
1.4 KiB
HTML
<html>
|
|
<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>Document</title>
|
|
</head>
|
|
<body>
|
|
{{ partial "header" (dict "Kind" .Kind "Template" "List") }}
|
|
{{.Content}}
|
|
{{ range .Pages }}
|
|
<div style="border: 1px solid black; margin:10px; padding:10px; ">
|
|
<div style="font-size:20px;">
|
|
<a href="{{.URL}}">{{.Title}}</a>
|
|
</div>
|
|
<div style="color:grey; font-size:16px;">{{ dateFormat "Monday, Jan 2, 2006" .Date }}</div>
|
|
<div style="color:grey; font-size:16px;">{{ if .Params.tags }}<strong>Tags:</strong> {{range .Params.tags}}<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> {{end}}{{end}}</div>
|
|
<div style="color:grey; font-size:16px;">{{ if .Params.categories }}<strong>Categories:</strong> {{range .Params.categories}}<a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> {{end}}{{end}}</div>
|
|
<div style="color:grey; font-size:16px;">{{ if .Params.moods }}<strong>Moods:</strong> {{range .Params.moods}}<a href="{{ "/moods/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> {{end}}{{end}}</div>
|
|
|
|
<p style="font-size:18px;">{{.Summary}}</p>
|
|
</div>
|
|
{{ end }}
|
|
{{ partial "footer" . }}
|
|
</body>
|
|
</html>
|