bobatheme/layouts/_default/single.html

18 lines
287 B
HTML

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