You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

single.html 763 B

12345678910111213141516171819202122
  1. {{ define "singlebody" }}
  2. {{- partialCached "header.html" . .RelPermalink -}}
  3. <h1>{{ .Title }}</h1>
  4. {{- partialCached "singlebody.html" . .RelPermalink -}}
  5. <div class="content">
  6. {{ $date := dateFormat "2 January, 2006" ($.Param "date") }}
  7. {{ $audio := ($.Param "podcast_file") }}
  8. <p>{{ with $.Param "Description" }}{{ . | $.RenderString }}{{ end }}</p>
  9. <span class="soundcite" data-url="{{ $audio | safeURL }}">Interview conducted on {{ $date }}</span>
  10. {{ with $.Param "transcript" }}
  11. {{ $transcript := (printf "[Transcript](%s)" . ) }}
  12. <p>{{ $transcript | $.RenderString }}</p>
  13. {{ end }}
  14. {{ .Content }}
  15. </div>
  16. {{ end }}