gmgauthier.com/layouts/podcast/single.html

26 lines
778 B
HTML

{{ 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="{{ with .Params.image }}{{ . }}{{ end }}" width="100%" height="385px"
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>
</div>
{{ partial "footer.html" . }}