From d494a3e61e370af6b533aa5fb3f91c1e7271bb45 Mon Sep 17 00:00:00 2001 From: Luke Fretwell Date: Fri, 24 Jul 2026 17:13:26 -0700 Subject: [PATCH] Fix redirect/homepage meta tags, skip-link targets, dropdown overflow; rebuild guidance page - redirects.njk was inheriting the site layout instead of rendering as a bare redirect stub (missing layout: false), so /about.html rendered 55KB of duplicate page chrome with a generic title/no description instead of actually redirecting - this was the real source of the reported "OG title missing" / "OG description missing" on /about - Added a description to the homepage (index.njk), fixing both the missing page description and OG description there - Added id="main-content" to 5 layouts (search, site-index, post, cards, home) whose
didn't match the skip-link's #main-content target - dropdown-menu-end on the Share/Download dropdowns, plus icon color rules synced from components (fa-expand, fa-terminal, fa-rocket) - Rebuilt guidance.md from guidance.njk: a plain intro line + linked list of the guidance sources, dropping the old guidance-to-standards table --- _includes/actions.html | 4 +-- _includes/layouts/cards.html | 2 +- _includes/layouts/home.html | 2 +- _includes/layouts/post.html | 2 +- _includes/layouts/search.html | 2 +- _includes/layouts/site-index.html | 2 +- content/guidance.md | 17 ++++++++++ content/guidance.njk | 44 ------------------------- content/index.njk | 1 + content/redirects.njk | 1 + public/css/scangov.css | 54 +++++++++++++++++++++++++++++++ 11 files changed, 80 insertions(+), 51 deletions(-) create mode 100644 content/guidance.md delete mode 100644 content/guidance.njk diff --git a/_includes/actions.html b/_includes/actions.html index 9fb634cd..7a4535b6 100644 --- a/_includes/actions.html +++ b/_includes/actions.html @@ -48,7 +48,7 @@ title="Download"> -