2018-11-03 14:23:41 +00:00
|
|
|
{{ define "main" }}
|
2018-11-14 18:34:07 +00:00
|
|
|
<main class="main">
|
|
|
|
<div class="single block">
|
|
|
|
<article class="post">
|
2019-09-24 14:50:06 +00:00
|
|
|
{{- partial "post_featured.html" (dict "page" . "IsSingle" true) }}
|
2018-11-16 14:50:56 +00:00
|
|
|
{{- partial "post_meta.html" (dict "dot" . "class" "mb") }}
|
2018-11-14 18:34:07 +00:00
|
|
|
<h1 class="post__title">{{ .Title }}</h1>
|
|
|
|
{{- partial "post_toc.html" . }}
|
|
|
|
<div class="post__content">{{ .Content }}</div>
|
|
|
|
{{ if or (.Param "share") (isset $.Params "tags") }}
|
|
|
|
<footer class="post__footer">
|
|
|
|
{{ partial "post_tags.html" . }}
|
|
|
|
{{ partial "post_share.html" . }}
|
|
|
|
</footer>
|
|
|
|
{{ end }}
|
|
|
|
</article>
|
|
|
|
</div>
|
|
|
|
</main>
|
2018-11-18 16:00:23 +00:00
|
|
|
{{ partial "authorbox.html" . }}
|
2018-11-03 14:23:41 +00:00
|
|
|
{{ partial "related.html" . }}
|
|
|
|
{{ partial "comments.html" . }}
|
|
|
|
{{ end }}
|