binario/layouts/_default/single.html

20 lines
626 B
HTML
Raw Normal View History

2018-02-11 06:25:05 +00:00
{{ partial "header.html" . }}
<div class="main">
2018-02-11 06:55:56 +00:00
<div class="single block">
2018-02-11 06:25:05 +00:00
<article class="post">
2018-05-21 20:08:56 +00:00
{{- partial "post_thumbnail.html" (dict "page" . ) }}
2018-03-04 07:21:14 +00:00
<div class="post__meta meta mb">{{ partial "post_meta.html" . }}</div>
2018-02-11 06:25:05 +00:00
<h1 class="post__title">{{ .Title }}</h1>
{{- partial "post_toc.html" . }}
2018-02-11 06:25:05 +00:00
<div class="post__content">{{ .Content }}</div>
2018-05-25 07:20:37 +00:00
{{ if .Params.tags }}
2018-05-21 18:18:52 +00:00
<footer class="post__footer">
2018-05-25 07:20:37 +00:00
{{ partial "post_tags.html" . }}
2018-05-21 18:18:52 +00:00
</footer>
2018-05-25 07:20:37 +00:00
{{ end }}
2018-02-11 06:25:05 +00:00
</article>
</div>
2018-05-25 14:29:46 +00:00
{{ partial "related.html" . }}
2018-02-23 13:01:12 +00:00
{{ partial "comments.html" . }}
2018-02-11 06:25:05 +00:00
</div>
{{ partial "footer.html" . }}