The canonical source for the bilingual Somatic Path website. Hugo generates the deployable static site; generated files in public/ are deliberately not committed.
- Hugo Extended 0.110.0 or newer
rsyncand SSH access for deployment
content/en/andcontent/zh-HK/: English and Traditional Chinese contentlayouts/: Hugo templates and partialsstatic/: images, downloads, CSS, and JavaScript copied into the built sitescripts/deploy.sh: production build and generated-output deploymentpublic/: generated output (ignored by Git)
Homepage sections live in the headless bundles at content/{language}/home/. Numbered filenames control their order. Press articles and blog articles are ordinary bilingual Hugo pages.
Preview the currently published site:
hugo serverPreview draft content, including the private blog review pages:
hugo server -DOpen:
http://localhost:1313/en/blog/http://localhost:1313/zh-hk/blog/
The blog section pages and ATM article use the same translationKey in both languages so the language switcher opens the corresponding translation. If a translation does not exist, it falls back to that language's homepage.
Before publication, review both languages for wording, factual claims, dates, translation parity, the contact call to action, mobile layout, and language switching. The section and article front matter must remain draft: true during review. Draft pages are omitted from production output, navigation, and sitemaps.
After explicit publication approval:
- Change
drafttofalsein both localized blog_index.mdfiles and both localized article files. - Add localized Blog/文章 entries to the header/footer menu configuration in
hugo.toml. - Run a clean production build and inspect the output and sitemaps.
- Deploy only after that review passes.
hugo --minify --cleanDestinationDirThe deployable output is generated in public/. A normal production build must not contain draft blog URLs.
Production pages emit self-referencing canonical URLs and reciprocal language alternates. The x-default alternate points to the corresponding Traditional Chinese page, or the Traditional Chinese homepage when no translation exists. Unused taxonomy and term pages are disabled, so /categories/ and /tags/ are not included in production output or sitemaps.
The deployment script always performs a clean production build first, then synchronizes only public/ to the supplied VPS web root:
./scripts/deploy.sh jonearth@5.223.62.235:/var/www/somatic-path/The production host is the Singapore VPS at jonearth@5.223.62.235, and the dedicated web root is /var/www/somatic-path/. The remote sync uses --delete, so confirm that exact destination before deploying. Never deploy with hugo server -D output or before blog publication is explicitly approved.
Hugo source on main is the single source of truth. The former generated-site history is retained for recovery at archive/airig-generated-2026-07-31; it must not be used for ongoing edits or deployment.
All rights reserved. Feldenkrais Method® and Awareness Through Movement® are registered service marks of the Feldenkrais Guild® of North America.