2018-07-16 03:22:00 +00:00
|
|
|
<article>
|
|
|
|
<header>
|
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
{{ with .Params.subtitle }}
|
|
|
|
<span class="post__subtitle">
|
|
|
|
{{.}}
|
|
|
|
</span>
|
2018-09-29 23:32:57 +00:00
|
|
|
{{ end }}
|
2018-07-29 21:41:49 +00:00
|
|
|
{{ partial "page-single/post-meta.html" . }}
|
2018-07-16 03:22:00 +00:00
|
|
|
</header>
|
2018-09-29 23:32:57 +00:00
|
|
|
{{ $tableOfContents := .TableOfContents }}
|
|
|
|
{{ with .Site.Params.toc }}
|
|
|
|
<div class="toc-wrapper">
|
|
|
|
<input type="checkbox" id="tocToggle">
|
|
|
|
<label for="tocToggle">Table of Content</label>
|
|
|
|
{{ if eq . "hugo" }}
|
|
|
|
{{ $tableOfContents }}
|
|
|
|
{{ else if eq . "tocbot"}}
|
|
|
|
<div class="toc" id="TableOfContents"></div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2018-07-16 03:22:00 +00:00
|
|
|
<div class="post">
|
|
|
|
{{ .Content }}
|
|
|
|
</div>
|
2018-07-29 21:41:49 +00:00
|
|
|
{{ partial "page-single/post-navigation.html" . }}
|
2018-07-26 22:41:33 +00:00
|
|
|
{{ partial "page-single/post-related.html" . }}
|
2018-07-29 21:41:49 +00:00
|
|
|
{{ partial "page-single/post-comment.html" . }}
|
2018-07-26 21:08:51 +00:00
|
|
|
</article>
|