bobatheme/layouts/_default/single.html
BBaoVanC e62ccfd085
Remove partialCached for now because I'm worried of it causing issues
It didn't last very long. Speed isn't really a concern currently since
my sites all generate in ~50ms (on my computer, at least).
2021-10-11 21:35:16 -05:00

22 lines
380 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>{{ i18n "table_of_contents" }}</h2>
{{ .TableOfContents }}
</div>
{{ end }}
<hr>
{{ .Content }}
{{ end }}