{{ define "main" }}

{{ .Params.title }}

{{ .Params.description }}

{{ $pages := (where .Site.Pages "Section" .Section) }} {{ $pages = sort $pages ".Params.publishdate" "desc" }} {{ $parent := .Page }} {{ $parentDir := (path.Dir .Page.File.Dir) }} {{ range $pages }} {{ $pageLocation := (path.Dir (path.Dir .File.Dir)) }} {{ if and (eq $parentDir $pageLocation) (not .Params.draft) }} {{ end }} {{ end }}
{{ i18n "security_disclosure" }} {{ i18n "security_date" }} {{ i18n "security_affected_releases" }} {{ i18n "security_impact_score" }} {{ i18n "security_related" }}
{{ .LinkTitle }} {{ .PublishDate.Format (i18n "page_publish_date_format") -}} {{ range .Params.releases }} {{ trim . " " }}
{{ end }}
{{ if .Params.cvss }} {{ .Params.cvss }} {{ end }} {{ trim .Description "." -}}
{{ partial "posts_navigation.html" . }}
{{ end }}