{{- range .Params.highlights -}} {{$item := $.Site.GetPage . -}} {{- $type := $item.Params.mediatype -}} {{- $date := $item.Lastmod -}} {{- $title := $item.Title -}} {{- $anchor := printf "#%s" $item.Params.id -}} {{- $youtube := $item.Params.youtubeid -}} {{- $imagesrc := "" -}} {{- $image := $item.Resources.GetMatch "*highlight*" -}} {{- with $image -}} {{- $imagesrc = .RelPermalink -}} {{- $image = $image.Resize "220x" -}} {{- else -}} {{- $image = $item.Resources.GetMatch "*featured*" -}} {{- with $image -}} {{- $imagesrc = .RelPermalink -}} {{- $image = .Resize "220x" -}} {{- end -}} {{- end -}} {{- $tags := $item.Params.tags -}} {{- $channel := $item.Params.channel -}}
{{- with $youtube -}} {{- end -}} {{- with $image -}} {{- end -}}

{{- $channel -}}:
{{$title}}

{{- range $tags -}} {{- . -}} {{- end -}}

{{- end -}}