|
- {{ define "singlebody" }}
-
- {{- partialCached "header.html" . .RelPermalink -}}
- <h1>{{ .Title }}</h1>
- {{- partialCached "singlebody.html" . .RelPermalink -}}
- <div class="content">
-
- {{ $date := dateFormat "2 January, 2006" ($.Param "date") }}
- {{ $audio := ($.Param "podcast_file") }}
-
- <p>{{ with $.Param "Description" }}{{ . | $.RenderString }}{{ end }}</p>
-
- <span class="soundcite" data-url="{{ $audio | safeURL }}">Interview conducted on {{ $date }}</span>
-
- {{ with $.Param "transcript" }}
- {{ $transcript := (printf "[Transcript](%s)" . ) }}
- <p>{{ $transcript | $.RenderString }}</p>
- {{ end }}
-
- {{ .Content }}
- </div>
- {{ end }}
|