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-05 19:12:10 -05:00
|
|
|
{{ if or .Date (.GetTerms "tags") }}
|
2021-10-02 16:22:52 -05:00
|
|
|
<div class="post-metadata">
|
|
|
|
{{ if .Date }}
|
2021-10-05 19:12:10 -05:00
|
|
|
|
2021-10-06 09:52:06 -05:00
|
|
|
<span class="date">
|
|
|
|
{{ partial "icon.html" "calendar" }}
|
|
|
|
<time datetime="{{ .Date.Format "2006-01-02" }}" pubdate>
|
|
|
|
{{ .Date.Format "January 2, 2006" }}
|
|
|
|
</time>
|
2021-10-05 19:12:10 -05:00
|
|
|
|
2021-10-06 09:52:06 -05:00
|
|
|
{{ if ne .Lastmod .Date }}
|
|
|
|
<time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate>
|
|
|
|
(Modified {{ .Lastmod.Format "January 2, 2006" }})
|
|
|
|
</time>
|
|
|
|
{{ end }}
|
2021-10-05 19:12:10 -05:00
|
|
|
|
2021-10-06 09:52:06 -05:00
|
|
|
{{ end }}
|
|
|
|
</span>
|
2021-10-02 16:22:52 -05:00
|
|
|
|
|
|
|
<span class="tags">
|
|
|
|
{{ range (.GetTerms "tags") }}
|
2021-10-05 19:12:10 -05:00
|
|
|
<span class="tag">
|
|
|
|
{{ partial "icon.html" "tag" }}
|
|
|
|
<a href="{{ .Permalink }}">{{ .LinkTitle }}</a>
|
|
|
|
</span>
|
2021-10-02 16:22:52 -05:00
|
|
|
{{ end }}
|
|
|
|
</span>
|
|
|
|
</div>
|
2021-10-05 19:12:10 -05:00
|
|
|
{{ end }}
|
2021-09-27 14:16:52 -05:00
|
|
|
|
2021-10-01 14:12:39 -05:00
|
|
|
{{ if .Params.Toc }}
|
|
|
|
<div id="table-of-contents">
|
2021-10-08 20:44:19 -05:00
|
|
|
<h2>Table of Contents</h2>
|
2021-10-01 14:12:39 -05:00
|
|
|
{{ .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 }}
|