~linuxgoose/bocpress

ref: 7337de89f2794f8e447e2499419675f5dd2f6d5d bocpress/export_base_hugo/index.html -rw-r--r-- 808 bytes
7337de89Jordan Robinson update email host to be fetched from .env 7 days ago
                                                                                
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
{{ define "main" }}
<main>
    <h1>{{ .Site.Title }}</h1>

    {{- if .Site.Params.Description }}
    <p class="byline">
        {{ .Site.Params.Description }}
    </p>
    {{- end }}

    <ul class="posts">
        {{ range .Pages }}
        <li>
            <a href="{{ .Permalink }}">{{ .Title }}</a>
            <small><time datetime="{{ dateFormat "January 2, 2006" .Date }}" itemprop="datePublished">
                    {{ dateFormat "January 2, 2006" .Date }}
                </time>
            </small>
        </li>
        {{ end }}
    </ul>
</main>

<footer>
    {{ with .OutputFormats.Get "rss" -}}
        <p>
            Subscribe via
            {{ printf `<a href=%q title=%q>RSS</a>` .Permalink site.Title | safeHTML }}
        </p>
    {{ end }}
</footer>
{{ end }}