~linuxgoose/bocpress

ref: ea974b0aa571d976764ecd593298392f8a41e35d bocpress/export_base_hugo/list.html -rw-r--r-- 349 bytes
ea974b0aJordan Robinson change markdown library to markdown-it-python and add Graphviz support 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 }}