Migrated from Drupal 9 (cherryhill/westsidetherapy-d9).
- Hugo v0.120+ (extended edition recommended)
# Clone this repo
git clone <your-repo-url>
cd westsidetherapy-hugo
# Download images from the live Drupal site (one-time setup)
bash scripts/download-assets.sh
# Start local dev server with live reload
hugo server -DVisit http://localhost:1313
westsidetherapy-hugo/
├── hugo.toml # Site configuration, menus, params
├── content/
│ ├── _index.md # Home page body copy
│ ├── about.md
│ ├── why-therapy.md
│ ├── my-practice.md
│ ├── services.md
│ ├── forms.md
│ └── contact/
│ └── index.md
├── layouts/
│ ├── index.html # Home page template
│ ├── _default/
│ │ ├── baseof.html # Base HTML shell (header/footer)
│ │ └── single.html # Default page template
│ └── contact/
│ └── single.html # Contact page with Formspree form
└── static/
├── css/style.css
├── images/ # ← copy images here (see below)
└── files/ # ← copy PDF forms here (see below)
Copy these from the live site or from web/sites/default/files/ in the Drupal repo:
| Hugo path | Drupal source |
|---|---|
static/images/logo.png |
themes/custom/westsidetherapy/images/logo.png |
static/images/judy-bio-pic.jpg |
sites/default/files/inline-images/judy-bio-pic.jpg |
static/images/judy-closeup.jpeg |
sites/default/files/inline-images/judy_closeup.jpeg |
static/images/prayer-flags.jpg |
sites/default/files/inline-images/iStock-636521992.jpg |
static/images/office-location.png |
sites/default/files/inline-images/office-location_0.png |
static/images/beech-leaves.jpg |
sites/default/files/inline-images/Beech-Leaves-Falling-...jpg |
Copy from web/sites/default/files/2019-02/ in the Drupal repo:
| Hugo path | Drupal source |
|---|---|
static/files/Consent.pdf |
2019-02/Consent.pdf |
static/files/Admission.pdf |
2019-02/Admission.pdf |
static/files/ReleaseofInfo.pdf |
2019-02/ReleaseofInfo.pdf |
The contact form uses Formspree (free tier supports 50 submissions/month):
- Sign up at https://formspree.io
- Create a new form
- Copy your form ID (looks like
xabcdefg) - In
hugo.toml, replaceYOUR_FORM_ID:formAction = "https://formspree.io/f/xabcdefg"
Alternatively use Netlify Forms if deploying to Netlify — just add netlify attribute to the <form> tag in layouts/contact/single.html.
- Push this repo to GitHub
- Connect repo at https://app.netlify.com
- Build command:
hugo - Publish directory:
public - Set environment variable:
HUGO_VERSION=0.120.0
hugo --minify
# push /public to gh-pages branchBuild command: hugo --minify
Output directory: public
hugo --minifyOutput goes to public/ — upload that directory to any static host.