personal-blog/layouts/podcast/single.html

34 lines
1.3 KiB
HTML
Raw Normal View History

2021-12-02 18:44:48 +00:00
{{ partial "header.html" . }}
<div class="header" style="background-color: whitesmoke; opacity: 100%">
<h1 style="color: #065387; font-size: 44px">{{ .Title }}</h1>
<h2 style="color: dimgrey; font-size: 22px">{{ with .Params.series }}{{.}}{{end}}</h2>
2021-12-02 18:44:48 +00:00
</div>
<div class="content" style="text-align: justify-all">
2022-01-03 14:55:21 +00:00
<span style="width: 100%; padding: 2px; alignment: center">
<div style="float:left; font-size:medium; font-weight:normal; padding: 2px; margin: 2px">
<i class="fa fa-calendar fa-fw"></i>
<time> {{ with .Site.Params.dateFormat }}{{ $.Date.Format . }}{{ else }}{{ .Date.Format "02 Jan 2006, 15:04 BST" }}{{ end }}</time>
</div>
<div style="float:right; font-size:small; font-weight: normal; padding: 2px; margin: 2px">
<time><em>Updated: {{ .Lastmod.Format "02 Jan 2006, 15:04" }} </em></time>
</div>
2021-12-02 18:44:48 +00:00
{{ if isset .Params "image" }}
2022-01-08 21:10:55 +00:00
<p><img class="featured-image" src="{{ .Site.Params.podcastCdnURL }}{{ with .Params.image }}{{ . }}{{ end }}" /></p>
2021-12-02 18:44:48 +00:00
{{ end }}
2022-01-03 14:55:21 +00:00
</span>
<span style="text-align: justify">
2021-12-02 18:44:48 +00:00
{{ .Content }}
2022-01-03 14:55:21 +00:00
</span>
<script>
let audio = document.getElementById("audio_player");
function set_volume(){
audio.volume = 0.4;
}
</script>
2021-12-02 18:44:48 +00:00
</div>
{{ partial "footer.html" . }}