webpage/themes/hugo-book/layouts/posts/single.html

16 lines
289 B
HTML
Raw Normal View History

2024-11-26 22:25:09 +00:00
{{ define "main" }}
<article class="markdown book-post">
<h2>
{{ partial "docs/title.html" . }}
</h2>
{{ partial "docs/post-meta" . }}
<div class="book-post-content">
{{- .Content -}}
</div>
</article>
{{ end }}
{{ define "toc" }}
{{ partial "docs/toc" . }}
{{ end }}