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

31 lines
870 B
HTML
Raw Permalink Normal View History

2023-12-15 16:26:57 +00:00
{{ define "main" }}
<!-- blog post-->
<section class="section-sm">
<div class="container">
<article>
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
<div class="tags-list">
{{ if .Params.tags }}
{{ partial "tags" .Params.tags }}
{{ end }}
</div>
2023-08-09 19:18:31 +00:00
<span class="article-date">{{ i18n "published" }} <a href="{{ .CurrentSection.URL }}">{{ .CurrentSection.Name }}</a> {{ i18n "on" }} {{ (time .Date ) | time.Format (.Params.date_format | default "2 January 2006" ) }}. {{ i18n "readingTime" }} {{ i18n "readingTimeValue" .ReadingTime }}.</span>
2023-12-15 16:26:57 +00:00
<div class="post-content">
{{ .Content }}
{{ if .Site.Params.Info.related }}
<div class="related">{{ partial "related" . }}</div>
</div>
</article>
{{ if .Site.Params.issoComments }}
{{- partial "isso" . -}}
{{ end }}
{{ end }}
</div>
</section>
{{ end }}