1
0
Fork 0
This repository has been archived on 2022-04-17. You can view files and clone it, but cannot push or open issues/pull-requests.
thepodcasterscommunity-site/layouts/posts/single.html

49 lines
1.7 KiB
HTML
Raw Normal View History

2020-10-11 17:44:44 -04:00
{{ define "title" }}
{{ .Title }} · {{ .Site.Title }}
{{ end }}
{{ define "content" }}
<section class="container post">
<article>
<header>
<div class="post-title">
<h1 class="title">{{ .Title }}</h1>
</div>
<div class="post-meta">
<div class="date">
<span class="posted-on">
<i class="fa fa-calendar" aria-hidden="true"></i>
<time datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}'>
{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}
</time>
</span>
<span class="reading-time">
<i class="fa fa-clock-o" aria-hidden="true"></i>
{{ i18n "reading_time" .ReadingTime }}
</span>
</div>
{{ with .Page.Params.Categories }}{{ partial "taxonomy/categories.html" . }}{{ end }}
{{ with .Page.Params.Tags }}{{ partial "taxonomy/tags.html" . }}{{ end }}
<!-- manually added in for authors taxonomy listing, keep changes merged into this file as it overwrites the theme's file-->
{{ with .Page.Params.Authors }}{{ partial "taxonomy/authors.html" . }}{{ end }}
</div>
</header>
<div>
{{ if .Params.featured_image }}
<img src='{{ .Params.featured_image }}' alt="Featured image"/>
{{ end }}
{{ .Content }}
</div>
<footer>
{{ partial "posts/series.html" . }}
{{ partial "posts/disqus.html" . }}
{{ partial "posts/commento.html" . }}
{{ partial "posts/utterances.html" . }}
</footer>
</article>
{{ partial "posts/math.html" . }}
</section>
{{ end }}