content/static/html: gate deprecated/retracted by experiment
For golang/go#43265
For golang/go#41321
Trust: Jonathan Amsterdam
Run-TryBot: Jonathan Amsterdam
</div>
{{end}}
+ {{if (.Experiments.IsActive "retractions")}}
{{if .Unit.Deprecated}}
<div class="UnitHeader-deprecatedBanner">
Deprecated{{with .Unit.DeprecationComment}}: {{.}}{{end}}
Retracted{{with .Unit.RetractionRationale}}: {{.}}{{end}}
</div>
{{end}}
-
+ {{end}}
{{if .LatestMajorVersion}}
<div class="UnitHeader-majorVersionBanner" data-test-id="UnitHeader-majorVersionBanner">
<img height="19px" width="16px" class="UnitHeader-detailIcon" src="/static/img/pkg-icon-info_19x16.svg" alt="">
