mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-14 12:25:58 -06:00
22 lines
380 B
HTML
22 lines
380 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>Table of Contents</h2>
|
|
{{ .TableOfContents }}
|
|
</div>
|
|
{{ end }}
|
|
|
|
<hr>
|
|
|
|
{{ .Content }}
|
|
{{ end }}
|