bobatheme/layouts/_default/single.html
2021-10-11 18:24:14 -05:00

22 lines
393 B
HTML

{{ define "main" }}
<div class="post-title">
<h1>
{{ .Title | markdownify }}
{{ if .Draft }}{{ partialCached "icon.html" "edit" "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 }}