{{#unless (endsWith (parentPath uri) "previous")}} {{!-- If not a previous version workout the latest link  --}}
	{{#if description.latestRelease}}
		<p class="alert__title">This is the latest release</p> <a class="btn btn--primary print--hide" href="{{parentPath uri}}/previousReleases">View previous releases</a>
	{{else}}
		{{#resolve (concat (parentPath uri) "/latest") filter="title"}}
			<p class="alert__title">This is not the latest release</p> <a class="btn btn--primary print--hide" href="{{uri}}">View latest release</a>
		{{/resolve}}
	{{/if}}
	{{else}}{{!-- If an older version of any release link to latest version of that release--}}
	<div class="alert--warning">
		<div class="alert--warning__icon">!</div>
		<h2 class="alert--warning__title">This has been superseded</h2> <a class="btn btn--primary print--hide alert--warning__content" href="{{parentPath (parentPath uri)}}">View corrected version</a>
	</div>
{{/unless}}
{{#unless (endsWith (parentPath uri) "previous")}} {{!-- If not a previous version workout the latest link  --}}
	{{#if description.latestRelease}}
		<p class="alert__title">This is the latest release</p> <a class="btn btn--primary print--hide" href="{{parentPath uri}}/previousReleases">View previous releases</a>
	{{else}}
		{{#resolve (concat (parentPath uri) "/latest") filter="title"}}
			<p class="alert__title">This is not the latest release</p> <a class="btn btn--primary print--hide" href="{{uri}}">View latest release</a>
		{{/resolve}}
	{{/if}}
	{{else}}{{!-- If an older version of any release link to latest version of that release--}}
	<div class="alert--warning">
		<div class="alert--warning__icon"></div>
		<h2 class="alert--warning__title">This has been superseded</h2> <a class="btn btn--primary print--hide alert--warning__content" href="{{parentPath (parentPath uri)}}">View corrected version</a>
	</div>
{{/unless}}
Remove exclamation from 'latest release' alert and replace with :after
Remove exclamation from 'latest release' alert and replace with :after
