theme-blog-ewen/layouts/podcast-episode/single.html
2023-12-15 17:24:36 +01:00

51 lines
1.3 KiB
HTML

{{ define "main" }}
<!-- podcast post-->
<section class="section-sm">
<div class="container">
<div class="row">
<div class="col-lg-8 mb-10 mb-lg-0">
<article>
<div class="link-above-article">
{{ with .Parent }}
<a href="{{ .RelPermalink }}">← {{ i18n "returnToPodcast" }}</a>
{{ end }}
</div>
<div class="tags-list">
{{ if .Params.tags }}
{{ partial "tags" .Params.tags }}
{{ end }}
</div>
<h1 class="mb-0 mt-2">{{ .Title }}</h1>
<p class="mt-2 mb-0">{{ i18n "published" }} {{ i18n "on" }} {{ (time .Date) | time.Format (.Params.date_format | default "2 January 2006") }}. {{ i18n "readingTime" }} {{ i18n "readingTimeValue" .ReadingTime }}.</p>
{{ if .IsTranslated }}
{{ range .Translations }}
<p class="mb-1">{{ .Lang }} : <a href="{{ .Permalink }}">{{ .Title }}</a></p>
{{ end }}
{{ 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 }}