mirror of
https://github.com/andrewgioia/blog.git
synced 2024-11-15 04:54:47 +00:00
43 lines
968 B
HTML
43 lines
968 B
HTML
{{ define "title" }}
|
|
{{ .Title }} – {{ .Site.Title }}
|
|
{{ end }}
|
|
|
|
{{ define "main" }}
|
|
|
|
<main id="post" aria-role="main">
|
|
<aside>
|
|
<h1>
|
|
{{ .Title }}
|
|
</h1>
|
|
<time>
|
|
{{ .PublishDate.Format "January 2, 2006" }}
|
|
</time>
|
|
</aside>
|
|
<article>
|
|
{{ .Content }}
|
|
</article>
|
|
</main>
|
|
<footer id="byline">
|
|
<section id="author" class="border">
|
|
<i class="icon icon-feather"></i>
|
|
<span>Written by {{ .Params.author }}</span>
|
|
<span>on {{ .PublishDate.Format "January 2, 2006" }}.</span>
|
|
</section>
|
|
|
|
{{ with (.Params.tags) }}
|
|
<ul id="tags" class="tags">
|
|
{{ range . }}
|
|
<li>
|
|
<a href="{{ "tags/" | absURL }}{{ . | urlize }}">{{ . }}</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }}
|
|
<a id="top" class="arrow back" href="#">To the top!</a>
|
|
</footer>
|
|
|
|
<div id="toc">
|
|
{{ .TableOfContents }}
|
|
</div>
|
|
|
|
{{ end }} |