gmgauthier.com/layouts/podcast/single.html

34 lines
1.2 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: 50%">
<h1>{{ .Title }}</h1>
<h2>{{ with .Params.series }}{{.}}{{end}}</h2>
</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-03 14:55:21 +00:00
<img class="featured-image" src="{{ .Site.Params.podcastCdnURL }}{{ with .Params.image }}{{ . }}{{ end }}" />
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" . }}