geronimo/layouts/_default/permalink.html

17 lines
501 B
HTML
Raw Normal View History

2021-10-01 16:49:55 +00:00
{{ define "main" }}
<main>
<article>
<h1>{{ .Title }}</h1>
<div>
{{ if .Params.toc }}
<h2>Contents</h2>
<aside>{{ .TableOfContents }}</aside>
{{ end }}
2021-10-01 16:49:55 +00:00
{{ .Content }}
</div>
</article>
</main>
{{ partial "sidebar.html" . }}
<p><strong>I last updated this page with <a href="https://git.nixnet.services/ethan/ethanyoo.com/commit/{{ .GitInfo.Hash }}"><code> commit {{ .GitInfo.AbbreviatedHash }}</code></a> on {{ .Lastmod.Format "January 2, 2006" }}.</strong></p>
{{ end }}