diff --git a/layouts/shortcodes/release-data.html b/layouts/shortcodes/release-data.html
index e182cb82ae..418f229a9a 100644
--- a/layouts/shortcodes/release-data.html
+++ b/layouts/shortcodes/release-data.html
@@ -5,20 +5,19 @@
{{ if not $data.previousPatches }}
+
-{{ T "latest_release" }}{{ printf "%s.0" $dataVersion }}
+ {{ T "latest_release" }}{{ printf "%s.0" $dataVersion }}{{ if isset $data "releaseDate" }} {{ T "release_date_before" }}{{ printf "%s" $data.releaseDate }}{{ T "release_date_after" }}{{- end -}}
- {{ T "end_of_life" }}{{ printf "%s" $data.endOfLifeDate }}
+ {{ T "end_of_life" }}{{ printf "%s" $data.endOfLifeDate }}
{{ T "previous_patches" }} {{ T "not_applicable" }}
-{{ end }}
-
-{{ if $data.previousPatches }}
+{{- else -}}
- {{ T "latest_release" }}{{ index $data.previousPatches 0 "release" }} {{ T "release_date_before" }}{{ index $data.previousPatches 0 "targetDate" }}{{ T "release_date_after" }}
+ {{ T "latest_release" }}{{ index $data.previousPatches 0 "release" }} {{ T "release_date_before" }}{{ printf "%s" ( index $data.previousPatches 0 "targetDate" ) }}{{ T "release_date_after" }}
{{ T "end_of_life" }}{{ printf "%s" $data.endOfLifeDate }}
@@ -30,10 +29,10 @@
{{ if $key }}{{ T "inline_list_separator" }}{{ end }}
{{ printf "%s" .release }}
{{- end -}}
-{{- end -}}
+{{- end -}}
Complete {{ $dataVersion }} Schedule