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

31 lines
870 B
HTML
Raw Normal View History

2022-02-22 19:21:32 +00:00
{{ define "main" }}
2020-04-12 08:16:04 +00:00
2022-02-22 19:21:32 +00:00
<!-- blog post-->
<section class="section-sm">
2020-04-12 08:16:04 +00:00
<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>
2022-02-22 19:21:32 +00:00
2020-04-12 08:16:04 +00:00
<div class="post-content">
{{ .Content }}
{{ if .Site.Params.Info.related }}
<div class="related">{{ partial "related" . }}</div>
</div>
</article>
2022-02-22 19:21:32 +00:00
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>
2022-02-22 19:21:32 +00:00
2020-04-12 08:16:04 +00:00
</section>
2022-02-22 19:21:32 +00:00
{{ end }}