Updated February 25, 2026

Banner

The global announcement lives in Templates/Rareview/banner.html. To show it, add {{> banner}} at the top of header.html. To hide it, remove that include. The file currently exists with live copy, but header.html does not include it, so the banner is off.

Dismiss stores sessionStorage['global-banner-dismissed'] for the browser session only.

  1. HTML in banner.html:
<div class="global-banner" id="global-banner" role="region" aria-label="Site announcement">
    <div class="global-banner-inner">
        <p class="global-banner-text">Your announcement here. <a href="/your-link/">Read more.</a></p>
        <button type="button" class="global-banner-dismiss" aria-label="Dismiss banner" title="Dismiss">×</button>
    </div>
</div>
  1. Script in the same file:
(function() {
    var key = 'global-banner-dismissed';
    var banner = document.getElementById('global-banner');
    if (!banner) return;
    if (sessionStorage.getItem(key)) { banner.remove(); return; }
    var btn = banner.querySelector('.global-banner-dismiss');
    if (btn) btn.addEventListener('click', function() { sessionStorage.setItem(key, '1'); banner.remove(); });
})();

On this page