theme-blog-ewen/layouts/_default/single.html

33 lines
866 B
HTML
Raw Normal View History

2020-04-12 08:16:04 +00:00
{{ partial "header" . }}
{{ partial "nav" . }}
{{ partial "sidebar" . }}
<section class="page-content">
<div class="container">
<article>
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
<div class="tags-list">
{{ if .Params.tags }}
{{ partial "tags" .Params.tags }}
{{ end }}
</div>
<span class="article-date">{{ i18n "publishedIn" }} <a href="{{ .CurrentSection.URL }}">{{ .CurrentSection.Name }}</a> {{ i18n "on" }} {{ .Date.Format "2006-01-02" }}. {{ i18n "readingTime" }} {{ i18n "readingTimeValue" .ReadingTime }}.</span>
<div class="post-content">
{{ .Content }}
{{ if .Site.Params.Info.related }}
<div class="related">{{ partial "related" . }}</div>
</div>
</article>
2020-05-18 17:03:17 +00:00
{{ if .Site.Params.issoComments }}
{{- partial "isso" . -}}
{{ end }}
2020-04-12 08:16:04 +00:00
{{ end }}
</div>
2020-05-18 17:03:17 +00:00
2020-04-12 08:16:04 +00:00
</section>
2020-05-18 17:03:17 +00:00
2020-04-12 08:16:04 +00:00
{{ partial "footer" . }}