2023-12-15 16:26:57 +00:00
|
|
|
{{ define "main" }}
|
|
|
|
|
|
|
|
<!-- blog post-->
|
|
|
|
<section class="section-sm">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
2023-08-02 08:48:05 +00:00
|
|
|
<div class="col-lg-8 mb-10 mb-lg-0">
|
2023-12-15 16:26:57 +00:00
|
|
|
<article>
|
|
|
|
<div class="tags-list">
|
|
|
|
{{ if .Params.tags }}
|
|
|
|
{{ partial "tags" .Params.tags }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2023-08-02 08:48:05 +00:00
|
|
|
<h1 class="mb-0 mt-2">{{ .Title }}</h1>
|
2022-03-31 04:22:55 +00:00
|
|
|
<p class="mb-1">{{ i18n "published" }} {{ i18n "on" }} {{ (time .Date) | time.Format (.Params.date_format | default "2 January 2006") }}. {{ i18n "readingTime" }} {{ i18n "readingTimeValue" .ReadingTime }}.</p>
|
2023-12-15 16:26:57 +00:00
|
|
|
|
|
|
|
{{ if .Params.Image }}
|
|
|
|
{{ $article := .Permalink | relURL }}
|
|
|
|
{{ $image := .Params.Image | relURL }}
|
2023-08-02 08:48:05 +00:00
|
|
|
<img src="{{ print $article $image }}" class="mb-4 post-img" alt="{{ .Title | markdownify }}">
|
2023-12-15 16:26:57 +00:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ .Content }}
|
|
|
|
{{ if .Site.Params.Info.related }}
|
|
|
|
<div class="related">{{ partial "related" . }}</div>
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
|
|
|
|
|
|
|
{{ if .Site.Params.issoComments }}
|
|
|
|
{{- partial "isso" . -}}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- sidebar-->
|
|
|
|
{{ partial "sidebar.html" . }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
|
|
{{ end }}
|