2021-09-25 20:52:01 -05:00
|
|
|
{{ define "main" }}
|
2021-10-02 16:22:52 -05:00
|
|
|
<div class="post-title">
|
|
|
|
<h1>{{ .Title | markdownify }}</h1>
|
|
|
|
</div>
|
2021-09-27 14:16:52 -05:00
|
|
|
|
2021-10-02 16:22:52 -05:00
|
|
|
<div class="post-metadata">
|
|
|
|
{{ if .Date }}
|
2021-10-02 16:35:24 -05:00
|
|
|
<time datetime="{{ .Date.Format "2006-01-02" }}" pubdate>
|
2021-10-02 16:22:52 -05:00
|
|
|
{{ .Date.Format "January 2, 2006" }}
|
|
|
|
</time>
|
|
|
|
{{ if ne .Lastmod .Date }}
|
2021-10-02 16:35:24 -05:00
|
|
|
<time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate>
|
|
|
|
(Modified {{ .Lastmod.Format "January 2, 2006" }})
|
2021-10-02 16:22:52 -05:00
|
|
|
</time>
|
2021-09-27 14:16:52 -05:00
|
|
|
{{ end }}
|
2021-10-02 16:22:52 -05:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<span class="tags">
|
|
|
|
{{ range (.GetTerms "tags") }}
|
|
|
|
<a href="{{ .Permalink }}">#{{ .LinkTitle }}</a>
|
|
|
|
{{ end }}
|
|
|
|
</span>
|
|
|
|
</div>
|
2021-09-27 14:16:52 -05:00
|
|
|
|
2021-10-01 14:12:39 -05:00
|
|
|
{{ if .Params.Toc }}
|
|
|
|
<div id="table-of-contents">
|
|
|
|
<h3>Table of Contents</h3>
|
|
|
|
{{ .TableOfContents }}
|
|
|
|
</div>
|
2021-10-03 18:48:11 -05:00
|
|
|
<hr>
|
2021-10-01 14:12:39 -05:00
|
|
|
{{ end }}
|
|
|
|
|
2021-09-25 20:52:01 -05:00
|
|
|
{{ .Content }}
|
|
|
|
{{ end }}
|