diff --git a/themes/openpowerfoundation/layouts/specifications/single.html b/themes/openpowerfoundation/layouts/specifications/single.html index 5a8fb88..2b95d32 100644 --- a/themes/openpowerfoundation/layouts/specifications/single.html +++ b/themes/openpowerfoundation/layouts/specifications/single.html @@ -2,6 +2,9 @@ {{ partial "navbar.html" . }} +{{ $filename := .File.BaseFileName }} +{{ $datafile := index $.Site.Data.specifications $filename }} +
@@ -11,6 +14,19 @@

+
+
 
+
+ {{ if $datafile.versions }} + {{ range last 1 $datafile.versions }} + Latest version {{ .number }} + {{ end }} + {{ end }} +
+
+
+
 
+
 
@@ -25,8 +41,7 @@ {{ end }}
- {{ $filename := .File.BaseFileName }} - {{ $datafile := index $.Site.Data.specifications $filename }} + {{ if $datafile.versions }}