2022-03-18 13:35:57 +01:00
|
|
|
{{ define "main" }}
|
|
|
|
|
|
|
|
<section class="section-sm">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-8 order-2 order-lg-1">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 mb-4">
|
|
|
|
<img src="{{ .Params.Image | relURL }}" alt="blog-thumb" class="img-fluid w-100">
|
|
|
|
</div>
|
|
|
|
<div class="col-12">
|
|
|
|
<ul class="list-inline">
|
2023-02-22 12:29:06 +01:00
|
|
|
<li class="list-inline-item mr-4 mb-3 mb-md-0 text-light"><span class="font-weight-bold mr-2">{{ i18n "posted_by" }}:</span>
|
|
|
|
<a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize }}">{{ .Params.Author | title }}</a></li>
|
2022-03-18 13:35:57 +01:00
|
|
|
|
2023-02-22 12:29:06 +01:00
|
|
|
<li class="list-inline-item mr-4 mb-3 mb-md-0 text-light"><span class="font-weight-bold mr-2">{{ i18n "date" }}:
|
2022-03-18 13:35:57 +01:00
|
|
|
|
2023-02-22 12:32:28 +01:00
|
|
|
</span>{{ time.Format "02. Jan 2006" .PublishDate }}</li>
|
2023-02-22 12:29:06 +01:00
|
|
|
|
|
|
|
<li class="list-inline-item mr-4 mb-3 mb-md-0 text-light"><span class="font-weight-bold mr-2">{{ i18n "category" }}:
|
2023-02-22 12:32:28 +01:00
|
|
|
|
2023-02-22 12:29:06 +01:00
|
|
|
</span>{{ range $index, $elements:= .Params.Categories }}<a
|
2022-03-18 13:35:57 +01:00
|
|
|
href="{{ `categories/` | relLangURL }}{{ . | urlize | lower }}"> {{ if ne $index 0 }}, {{ end }}
|
|
|
|
{{ . | title }}</a> {{ end}}</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="col-12 my-4">
|
|
|
|
<div class="border-bottom"></div>
|
|
|
|
</div>
|
2023-02-23 16:35:52 +01:00
|
|
|
<div class="col-12 mb-5 content content-justify">
|
2022-03-18 13:35:57 +01:00
|
|
|
{{ .Content }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ partial "blog-sidebar.html" . }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{{ end }}
|