Language selection

Search


Hide 'Contextual' and 'About government' sections from the footer

By setting the noFooterContextual and noFooterAbout variables to "true", the "Contextual" and "About government" sections will be hidden on page load.

Expected output code

<footer id="wb-info">
	<h2 class="wb-inv">About this site</h2>
	<div class="brand">
		<div class="container d-flex align-items-center">
			<nav>
				<h3 class="wb-inv">Support links</h3>
				<ul>
					<li><a href="https://www.canada.ca/en/social.html">Social media</a></li>
					<li><a href="https://www.canada.ca/en/mobile.html">Mobile applications</a></li>
					<li><a href="https://www1.canada.ca/en/newsite.html">About Canada.ca</a></li>
				</ul>
				<h4><span class="wb-inv">Transparency</span></h4>
				<ul>
					<li><a href="https://www.canada.ca/en/transparency/terms.html">Terms and conditions</a></li>
					<li><a href="https://www.canada.ca/en/transparency/privacy.html">Privacy</a></li>
				</ul>
			</nav>
			<div class="wtrmrk align-self-end">
				<img src="/dist/GCWeb/assets/wmms-blk.svg" alt="Symbol of the Government of Canada">
			</div>
		</div>
	</div>
</footer>