~adnano/adnano.co

adnano.co/templates/page.html -rw-r--r-- 583 bytes
2cdcf005Adnan Maolood Reading Go documentation with gddo 24 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{{ define "main" }}
  <main>
    <h1>{{ .Title }}</h1>
    {{- if not .Date.IsZero }}
    <small>{{ .Date.Format "2006-01-02" }} on <a href="/">{{ site.Title }}</a></small>{{ end }}

{{ .Content | safeHTML }}
  </main>

  <footer>
    <small>
    This work is licensed under a <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA-4.0 license</a>.
    <a href="https://git.sr.ht/~adnano/adnano.co">Source code</a>
    <br>
    Have a comment on one of my posts?
    <a href="https://lists.sr.ht/~adnano/public-inbox">Send an email</a>
    </small>
  </footer>
{{ end }}