{{ if eq .context.Section "news" }} {{ .context.Date.Format "January 2, 2006" }} {{ end }}

{{- if eq .context.Section "functions" -}} {{ .context.LinkTitle }} {{- else -}} {{ .context.Title }} {{- end -}}