Hesed Phase 4 — Setup Guide
This project keeps the existing homepage design and adds a low-maintenance Insights publishing system.
What is included
- Existing
index.html homepage, visually unchanged
/insights/ article library
- Category pages
- Search
- Premium article template
- Reading time, related articles, sharing, author card and booking CTA
- Article SEO, Open Graph, canonical links and Article schema
- Automatically generated sitemap
- Pages CMS configuration in
.pages.yml
A. Upload this project to GitHub
- Open your private repository:
hesed-psychotherapy-website.
- Choose Add file → Upload files.
- Upload the contents inside this project folder, not the outer folder itself.
- Confirm that
.eleventy.js, .pages.yml, package.json, index.html, and src are visible at the repository root.
- Commit to the
main branch.
For large uploads, GitHub Desktop is easier: clone the repository, copy all project files into it, then commit and push.
B. Connect the repository to Cloudflare Pages
Because your current Cloudflare site was created through direct upload, the safest migration is to create a temporary Git-connected Pages project first.
- Cloudflare → Workers & Pages → Create → Pages → Connect to Git.
- Select the private GitHub repository.
- Production branch:
main.
- Framework preset: Eleventy (or None).
- Build command:
npm run build.
- Build output directory:
_site.
- Root directory: leave blank.
- Environment variable if requested:
NODE_VERSION = 22.
- Deploy.
- Test the temporary
pages.dev URL, especially /, /insights/, the sample article, and /sitemap.xml.
Do not move hesedpsychotherapy.com until the temporary site is fully tested.
C. Connect Pages CMS
- Visit
https://app.pagescms.org/ and sign in with GitHub.
- Grant Pages CMS access to the private
hesed-psychotherapy-website repository.
- Open that repository inside Pages CMS.
- It will read
.pages.yml and display Articles.
- Click New Articles, fill in the fields, and save.
- Saving commits the Markdown file to GitHub. Cloudflare then rebuilds automatically.
D. Publishing an article
- Article title
- URL slug, e.g.
empty-chair-technique
- Publication date
- Category
- Short summary
- Optional cover image and image description
- Article body
- Keep Save as draft off when ready
- Save
The public URL becomes:
https://hesedpsychotherapy.com/insights/empty-chair-technique/
E. Final domain switch after testing
Once the temporary Pages project is confirmed:
- Remove the custom domain from the old direct-upload Pages project.
- Add
hesedpsychotherapy.com to the new Git-connected Pages project.
- Cloudflare will update the route/DNS association.
- Confirm the homepage and Insights section.
- Submit the updated sitemap in Google Search Console:
https://hesedpsychotherapy.com/sitemap.xml.
Important
Do not delete the old Cloudflare project until the new Git-connected version is live and verified.