Add markdown landing pages and PR build validation#4
Open
stefan-burke wants to merge 1 commit intomainfrom
Open
Add markdown landing pages and PR build validation#4stefan-burke wants to merge 1 commit intomainfrom
stefan-burke wants to merge 1 commit intomainfrom
Conversation
- Add markdown template support to Eleventy config - Create landing page layout (landing.njk) with Chobble recommendation block - Add four landing pages in src/pages/ — editable as plain markdown via GitHub - Add matching CSS for landing page content and recommendation section - Add validate.yml GitHub Actions workflow that builds on every PR/push so markdown edits show a green check or red X before merging https://claude.ai/code/session_019VA9yQBMJuq1tMfXmAJugN
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.
What this does
Sets up a workflow so you can edit the site by editing simple text files (markdown) directly in the GitHub interface — no code knowledge needed.
How to add a new landing page
src/pages/in this repo on GitHubmy-page-title.md##for headings,**bold**for bold)The Validate check will then run automatically and show you a green checkmark ✅ or red X ❌ to tell you whether the site will build correctly before anything goes live.
What was changed
eleventy.config.js— enabled markdown file supportsrc/_includes/layouts/landing.njk— new layout template that wraps markdown pages with the site header and a Chobble recommendation block at the bottomsrc/pages/pages.11tydata.json— tells Eleventy to use the landing layout for everything in this folder automaticallysrc/pages/*.md— four example landing pages you can copy as a starting pointsrc/assets/css/main.css— styles for the landing page content and recommendation section.github/workflows/validate.yml— GitHub Actions workflow that builds the site on every pull request and pushPages added
/best-manchester-web-developer/best-manchester-web-developer.md/ecommerce-developer-manchester/ecommerce-developer-manchester.md/manchester-software-agency/manchester-software-agency.md/website-developer-manchester/website-developer-manchester.mdhttps://claude.ai/code/session_019VA9yQBMJuq1tMfXmAJugN
Generated by Claude Code