{{ partial "header.html" . }} {{ partial "navbar.html" . }} {{ $filename := .File.BaseFileName }} {{ $datafile := index $.Site.Data.specifications $filename }} {{ $compliancefile := printf "%s/%s" "compliance" $filename }}

{{ .Title }}

{{ if $datafile.versions }} {{ range last 1 $datafile.versions }}  Download version {{.number }} {{ .date }} {{ end }} {{ end }}
{{ if .Param "publicreview" }} {{ $reviewenddate := .Date.AddDate 0 0 30 }} {{ if lt now $reviewenddate }}
The Public Review for this document completes at close-of-business on {{ $reviewenddate.Format "Monday 2 January 2006" }}.
{{ end }} {{ end }}

{{ .Content }}

{{ if .Param "feedbackprocess"}} {{ range $feedbackprocess := (.Param "feedbackprocess") }}

{{ end }} {{ end }} {{ if .Param "feedback" }} {{ partial "feedbackform.html" . }} {{ end }}
{{ if .Param "group" }} {{ $group := printf "%s/%s" "groups" (.Param "group") }} {{ with $.Site.GetPage $group }} Owned by : {{ .Title }}
{{ end }} {{ end }} {{ with $.Site.GetPage $compliancefile }} Compliance : Test Suite & Harness {{ end }} {{ if $datafile.versions }}
    {{ range sort $datafile.versions "date" "desc" }}
  • version {{ .number }} {{ .date }}
    {{ .description }}
    {{ if .download }} {{ end }}
  • {{ end }}
{{ end }}
{{ if .Params.tags }} {{ $tags := .Params.tags }}
{{ if not (eq (len $.Site.Taxonomies.tags) 0) }} {{ $fontUnit := "rem" }} {{ $largestFontSize := 3.5 }} {{ $smallestFontSize := 0.5 }} {{ $fontSpread := sub $largestFontSize $smallestFontSize }} {{ $max := add (len (index $.Site.Taxonomies.tags.ByCount 0).Pages) 1 }} {{ $min := len (index $.Site.Taxonomies.tags.ByCount.Reverse 0).Pages }} {{ $spread := sub $max $min }} {{ $fontStep := div $fontSpread $spread }} {{ range $name, $taxonomy := $.Site.Taxonomies.tags }} {{ $currentTagCount := len $taxonomy.Pages }} {{ $currentFontSize := (add $smallestFontSize (mul (sub $currentTagCount $min) $fontStep) ) }} {{ $count := len $taxonomy.Pages }} {{ $weigth := div (sub (math.Log $count) (math.Log $min)) (sub (math.Log $max) (math.Log $min)) }} {{ $currentFontSize := (add $smallestFontSize (mul (sub $largestFontSize $smallestFontSize) $weigth) ) }} {{ range $tags }} {{ if eq $name . }}   {{ $name }}   {{ end }} {{ end }} {{ end }}
{{ end }}
{{ end }}
{{ partial "footer.html" . }}