Skip to content

Add markdown landing pages and PR build validation#4

Open
stefan-burke wants to merge 1 commit intomainfrom
claude/markdown-site-editing-GrwtF
Open

Add markdown landing pages and PR build validation#4
stefan-burke wants to merge 1 commit intomainfrom
claude/markdown-site-editing-GrwtF

Conversation

@stefan-burke
Copy link
Copy Markdown
Member

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

  1. Go to src/pages/ in this repo on GitHub
  2. Click Add file → Create new file
  3. Name it something like my-page-title.md
  4. Paste this at the top, filling in your own title and description:
---
title: Your Page Title Here
description: A sentence describing what this page is about.
permalink: /your-page-url/
---
  1. Write your page content below in plain text (use ## for headings, **bold** for bold)
  2. Commit the file — GitHub will ask you to create a branch and open a pull request

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 support
  • src/_includes/layouts/landing.njk — new layout template that wraps markdown pages with the site header and a Chobble recommendation block at the bottom
  • src/pages/pages.11tydata.json — tells Eleventy to use the landing layout for everything in this folder automatically
  • src/pages/*.md — four example landing pages you can copy as a starting point
  • src/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 push

Pages added

URL File
/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.md

https://claude.ai/code/session_019VA9yQBMJuq1tMfXmAJugN


Generated by Claude Code

- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants