mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -06:00
26 lines
470 B
HTML
26 lines
470 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>
|
|
|
|
{{ with .Resources.GetMatch "feature" }}
|
|
{{ partial "featured_media.html" . }}
|
|
{{ end }}
|
|
|
|
{{ .Content }}
|
|
{{ end }}
|