~linuxgoose/bocpress

ref: 579344665340eef72287ea44400d2d5e4f0741fb bocpress/export_base_hugo/list.html -rw-r--r-- 349 bytes
57934466Jordan Robinson add normalisetags management command 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{{ define "main" -}}
<main>
    <ul>
        {{ range .Data.Pages -}}
        <li>
            <a href="{{ .Permalink }}">{{ .Title }}</a>
            <time datetime="{{ dateFormat "January 2, 2006" .Date }}">
                {{ dateFormat "January 2, 2006" .Date }}
            </time>
        </li>
        {{- end }}
    </ul>
</main>
{{- end }}