~taavi/taavi.wtf

ref: 9877f681a72aa5245668dffffcf77ebf1338127f taavi.wtf/themes/castor/layouts/_default/single.html -rw-r--r-- 802 bytes
9877f681Taavi Väänänen add feedback request 7 months 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
{{ define "main" }}
    <h1>{{ .Title }}</h1>

    {{ if ne (.PublishDate.Format "2006-01-02") "0001-01-01" }}
        <p class="article-meta">
            Published on <span>{{ .PublishDate.Format "January 2, 2006" }}</span>.
        </p>
    {{ end }}

    {{ .Content }}

    {{ if .Params.tags }}
        <div class="article-meta">
            This article is tagged as:
            {{ range .Params.tags }}
                <a href="{{ "tags" | absURL }}/{{ . | urlize }}/">{{ . }}</a>
            {{ end }}
        </div>
    {{ end }}

    <p class="article-meta">
        Feedback? Please email any comments to
        <a href="mailto:hi@taavi.wtf">hi@taavi.wtf</a>,
        or toot them at
        <a href="https://mastodon.technology/@taavi">@taavi@mastodon.technology</a>.
    </p>
{{ end }}