21 lines
No EOL
654 B
HTML
21 lines
No EOL
654 B
HTML
{{ define "main" }}
|
|
<main class="main">
|
|
<div class="single block">
|
|
<article class="post">
|
|
{{- partial "post_thumbnail.html" (dict "page" .) }}
|
|
{{- partial "post_meta.html" (dict "dot" . "class" "mb") }}
|
|
<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>
|
|
{{ partial "related.html" . }}
|
|
{{ partial "comments.html" . }}
|
|
{{ end }} |