2021-09-25 20:52:01 -05:00
|
|
|
{{ define "main" }}
|
2021-09-26 19:21:48 -05:00
|
|
|
<h1>{{ .Title | markdownify }}</h1>
|
2021-09-27 14:16:52 -05:00
|
|
|
<!-- I'd like to get rid of the unnaturally large gap between the
|
|
|
|
header and the metadata (date, tags, etc) -->
|
2021-09-26 20:22:59 -05:00
|
|
|
{{ if .Date }}
|
2021-09-27 14:16:52 -05:00
|
|
|
<time datetime="{{ .Date.Format "January 2, 2006" }}" pubdate>
|
|
|
|
{{ .Date.Format "January 2, 2006" }}
|
2021-09-26 20:22:59 -05:00
|
|
|
</time>
|
2021-09-27 14:16:52 -05:00
|
|
|
{{ if ne .Lastmod .Date }}
|
|
|
|
( Modified
|
|
|
|
<time datetime="{{ .Lastmod.Format "January 2, 2006" }}" pubdate>
|
|
|
|
{{ .Lastmod.Format "January 2, 2006" }}
|
|
|
|
</time>
|
|
|
|
) <!-- I don't know how to get rid of the whitespace in between here,
|
|
|
|
so I'll just live with it for now. -->
|
2021-09-26 20:22:59 -05:00
|
|
|
{{ end }}
|
2021-09-27 14:19:35 -05:00
|
|
|
<br />
|
2021-09-26 20:22:59 -05:00
|
|
|
{{ end }}
|
2021-09-27 14:16:52 -05:00
|
|
|
|
|
|
|
<span class="tags">
|
|
|
|
{{ range (.GetTerms "tags") }}
|
|
|
|
<a href="{{ .Permalink }}">#{{ .LinkTitle }}</a>
|
|
|
|
{{ end }}
|
|
|
|
</span>
|
|
|
|
|
2021-09-25 20:52:01 -05:00
|
|
|
{{ .Content }}
|
|
|
|
{{ end }}
|