2020-07-13 21:26:05 +00:00
|
|
|
{{ define "title" }}
|
|
|
|
{{ .Title }} – {{ .Site.Title }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "main" }}
|
2020-07-14 16:46:08 +00:00
|
|
|
|
2020-07-13 21:26:05 +00:00
|
|
|
<main id="post" aria-role="main">
|
|
|
|
<aside>
|
|
|
|
<h1>
|
|
|
|
{{ .Title }}
|
|
|
|
</h1>
|
|
|
|
<time>
|
|
|
|
{{ .PublishDate.Format "January 2, 2006" }}
|
|
|
|
</time>
|
|
|
|
</aside>
|
|
|
|
<article>
|
|
|
|
{{ .Content }}
|
|
|
|
</article>
|
2020-07-14 16:46:08 +00:00
|
|
|
|
|
|
|
<section id="author" class="border">
|
|
|
|
<i class="icon icon-feather"></i>
|
|
|
|
<span>Written by {{ .Params.author }}</span>
|
2020-07-14 23:51:04 +00:00
|
|
|
<span>on {{ .PublishDate.Format "January 2, 2006" }}.</span>
|
2020-07-14 16:46:08 +00:00
|
|
|
</section>
|
|
|
|
|
|
|
|
{{ with (.Params.tags) }}
|
|
|
|
<ul id="tags" class="tags">
|
|
|
|
{{ range . }}
|
|
|
|
<li>
|
|
|
|
<a href="{{ "tags/" | absURL }}{{ . | urlize }}">{{ . }}</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|
2020-07-13 21:26:05 +00:00
|
|
|
</main>
|
|
|
|
<a id="top" class="arrow back" href="#">To the top!</a>
|
2020-07-14 16:46:08 +00:00
|
|
|
|
2020-07-13 21:26:05 +00:00
|
|
|
{{ end }}
|