21 lines
462 B
HTML
21 lines
462 B
HTML
{{ define "title" }}
|
|
{{ .Title }} - {{ .Site.Title }}
|
|
{{ end }}
|
|
|
|
{{ define "main" }}
|
|
<h2 id="{{ .Title }}"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
|
|
{{ with .Lastmod }}
|
|
<p>
|
|
Posted on {{ dateFormat "Jan 2 2006" . }}
|
|
</p>
|
|
{{ end }}
|
|
{{ if not (isset .Params "toc") }}
|
|
<details style="margin-bottom: 2.5em;">
|
|
<summary>
|
|
<h3>Table of Contents</h3>
|
|
</summary>
|
|
{{ .TableOfContents }}
|
|
</details>
|
|
{{ end }}
|
|
{{ .Content }}
|
|
{{ end }}
|