Skip to content

Commit

Permalink
Remove references to 'census' in the overview pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeandandrews committed Mar 4, 2025
1 parent ae48f51 commit 64298b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 32 deletions.
29 changes: 0 additions & 29 deletions assets/templates/static.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,35 +31,6 @@
</div>
{{ end }}
</div>
{{ if .ShowCensusBranding }}
<div class="ons-grid ons-u-mb-m">
<div class="ons-grid__col">
{{ if eq .Language "en" }}
<img
src="https://cdn.ons.gov.uk/assets/images/census-logo/logo-census-2021-purple-landscape.svg"
title="Census 2021"
class="header__svg-logo margin-right--1"
xmlns="http://www.w3.org/2000/svg"
focusable="false"
width="167"
height="32"
viewBox="0 0 242 44"
/>
{{ else }}
<img
src="https://cdn.ons.gov.uk/assets/images/census-logo/logo-cyfrifiad-2021-purple-landscape.svg"
title="Cyfrifiad 2021"
class="header__svg-logo margin-right--1"
xmlns="http://www.w3.org/2000/svg"
focusable="false"
width="167"
height="32"
viewBox="0 0 242 44"
/>
{{ end }}
</div>
</div>
{{ end }}
{{ template "partials/static/id-datestamp" . }}
</section>
<div
Expand Down
6 changes: 3 additions & 3 deletions mapper/static_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func CreateStaticBasePage(
p.EmergencyBanner = mapEmergencyBanner(emergencyBannerContent)

// CENSUS BRANDING
p.ShowCensusBranding = d.Survey == "census"
p.ShowCensusBranding = false

// BREADCRUMBS
p.Breadcrumb = []coreModel.TaxonomyNode{
Expand All @@ -78,8 +78,8 @@ func CreateStaticBasePage(
URI: "/",
},
{
Title: "Census",
URI: "/census",
Title: "Overview page",
URI: "#",
},
}

Expand Down

0 comments on commit 64298b4

Please sign in to comment.