{{/* v2 footer — used by the homepage and the legal pages.
Inputs (via dict context):
.logoUse the inline snippet
(rendered against a sprite emitted once per page)
.logoHref destination for the brand-logo link. Home passes "#top"
to trigger smooth-scroll-to-top via v2.js; legal pages
pass "/" (default) to navigate back to the homepage.
.discussHref / .contactEmail / .contactAddress
resolved at the call site so the footer doesn't
re-derive them.
*/}}
{{ $contactEmail := .contactEmail }}
{{ $contactAddress := .contactAddress }}
{{ $discussHref := .discussHref }}
{{ $logoUse := .logoUse }}
{{ $logoHref := .logoHref | default "/" }}