binario/layouts/_default/single.html

23 lines
749 B
HTML
Raw Permalink Normal View History

2018-11-03 14:23:41 +00:00
{{ define "main" }}
2018-11-14 18:34:07 +00:00
<main class="main">
{{ partial "breadcrumb.html" . }}
2018-11-14 18:34:07 +00:00
<div class="single block">
<article class="entry">
{{- partial "entry/featured.html" (dict "page" . "IsSingle" true) }}
{{- partial "entry/meta.html" (dict "page" . "class" "mb") }}
<h1 class="entry__title">{{ .Title }}</h1>
{{- partial "entry/toc.html" . }}
<div class="entry__content">{{ .Content }}</div>
2018-11-14 18:34:07 +00:00
{{ if or (.Param "share") (isset $.Params "tags") }}
<footer class="entry__footer">
{{ partial "entry/tags.html" . }}
{{ partial "entry/share.html" . }}
2018-11-14 18:34:07 +00:00
</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 }}