Refactor shared page header markup into a common include#504
Draft
Copilot wants to merge 1 commit into
Draft
Conversation
Agent-Logs-Url: https://github.com/NextCommunity/NextCommunity.github.io/sessions/4cb5faad-e8cb-4bbb-99a7-c1d9d8983ba2 Co-authored-by: jbampton <418747+jbampton@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
jbampton
May 25, 2026 13:18
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bio,games, andindexeach carried their own copy of the document/header shell, which made simple header changes fan out across multiple templates. This consolidates that shared structure into a single include while keeping per-page metadata and asset loading intact.What changed
src/_includes/page-header.njkfor the shared page shell:<html><head>scaffoldingTemplate consolidation
src/index.njk,src/games.njk, andsrc/_includes/bio.njkto:seopage-header.njkinstead of duplicating the shellBehavior preserved
indexcontinues using the built Tailwind stylesheetgamesandbiocontinue using the Tailwind CDN path