blob: ee09c8817a95f406fb136a5c401bfb80575add2e (
plain)
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
34
35
36
37
38
39
40
|
{{ define "main" }}
<article>
{{ .Page.Content }}
{{- if not (in .Params.category "pages") }}
{{- if not (eq .Page.Type "special") }}
{{ $pubdate := .PublishDate.Format "January 2, 2006" }}
{{ $lastmod := .Lastmod.Format "January 2, 2006" }}
<div class="publish-date">
{{ if eq $pubdate $lastmod }}
Published:
<time datetime="{{.PublishDate.Format "2006-01-02" }}">{{ $pubdate }}</time>
{{ else }}
; updated:
<time datetime="{{.Lastmod.Format "2006-01-02" }}">{{ $lastmod }}</time>
{{ end }}
</div>
<aside>
<h2>Author</h2>
<p>
Hey! I'm Michał Sapka, a computer programmer living in Kraków, Poland. This website is not dedicated to any particular one thing. Instead, I write whatever interests me most at the moment. No content here is auto-generated, so any bugs, problems, or controversies are entirely on me!
</p>
<p>
I don't have any commenting system, but comments over <a href="/me/contact">email</a> are more than welcome!
</p>
</aside>
{{- end }}
</article>
{{ end }}
{{ end }}
|