gmgauthier.com/layouts/podcast/single.html

26 lines
803 B
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">
{{ if isset .Params "image" }}
<span style="width: 100%; padding: 5px; alignment: center">
<img src="{{ .Site.Params.cdnURL }}{{ with .Params.image }}{{ . }}{{ end }}" width="100%" height="385px"
2021-12-02 18:44:48 +00:00
style="alignment:center; border-color: #777777; border-width: thin; border-style: solid"/>
</span>
{{ end }}
{{ .Content }}
<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" . }}