binario/layouts/_default/single.html

19 lines
621 B
HTML
Raw Normal View History

2018-11-03 14:23:41 +00:00
{{ define "main" }}
<div class="single block">
<article class="post">
{{- partial "post_thumbnail.html" (dict "page" . ) }}
<div class="post__meta meta mb">{{ partial "post_meta.html" . }}</div>
<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>
2018-02-11 06:25:05 +00:00
</div>
2018-11-03 14:23:41 +00:00
{{ partial "related.html" . }}
{{ partial "comments.html" . }}
{{ end }}