{{ if and (isset .Site.Params "episode_number_style") (.Params.episode) }}
{{ if eq .Site.Params.episode_number_style "parens" }}
{{ .Title }} ({{ with .Site.Params.episode_number_prefix }}{{ . }}{{ end }}{{ .Params.episode }})
{{ else if eq .Site.Params.episode_number_style "brackets" }}
{{ .Title }} [{{ with .Site.Params.episode_number_prefix }}{{ . }}{{ end }}{{ .Params.episode }}]
{{ else if eq .Site.Params.episode_number_style "dash" }}
{{ .Title }} - {{ with .Site.Params.episode_number_prefix }}{{ . }}{{ end }}{{ .Params.episode }}
{{ else }}
{{ .Title }} ({{ with .Site.Params.episode_number_prefix }}{{ . }}{{ end }}{{ .Params.episode }})
{{ end }}
{{ else }}
{{ end }}
Posted on {{ dateFormat "Monday, Jan 2, 2006" .Date }} {{ partial "episode-metadata.html" .}}