bobatheme/layouts/_default/single.html
2021-10-10 17:28:05 -05:00

22 lines
367 B
HTML

{{ define "main" }}
<div class="post-title">
<h1>
{{ .Title | markdownify }}
{{ if .Draft }}{{ partial "icon.html" "edit" }}{{ end }}
</h1>
</div>
{{ partial "post-metadata.html" . }}
{{ if .Params.Toc }}
<div id="table-of-contents">
<h2>Table of Contents</h2>
{{ .TableOfContents }}
</div>
{{ end }}
<hr>
{{ .Content }}
{{ end }}