Marketing site for Somatic — the holistic fitness app for iPhone. Hosted on GitHub Pages with Jekyll.
macOS ships with Ruby 2.6, which is too old for Jekyll 4. Install a current version via Homebrew:
brew install rubyThen add Homebrew's Ruby to your shell path. Add this line to ~/.zshrc (or ~/.bash_profile if using bash):
export PATH="/opt/homebrew/opt/ruby/bin:$PATH"Reload your shell:
source ~/.zshrcVerify you're on Ruby 3+:
ruby -v # should print ruby 3.x.x or 4.x.xgem install bundler
bundle installbundle exec jekyll serve --baseurl "" --port 3456Open http://localhost:3456.
The
--baseurl ""flag overrides the production value (/somatic) so links resolve correctly at localhost. Do not commit this flag — the value in_config.ymlis correct for production.
_config.yml Jekyll config (baseurl, url)
_layouts/
default.html Shared page shell: head, nav, footer, scripts
_includes/
logo-svg.html Reusable logo SVG (accepts size= param)
structured-data.html Homepage JSON-LD schema
src/css/ Stylesheets
index.html Homepage
help/ Help / FAQ page
terms/ Terms of Use
privacy/ Privacy Policy
template/ Session template deep-link page
- Create a directory with an
index.htmlinside (e.g.about/index.html). - Add Jekyll front matter at the top:
---
layout: default
title: "Page Title | Somatic"
description: "Short description for search engines."
----
Write your page content below the closing
---. The layout injects nav, footer, and shared scripts automatically. -
If the page needs extra CSS, add
extra_css: /src/css/your-file.cssto the front matter.
Edit _includes/logo-svg.html once — the change propagates to the nav and footer on every page.
Push to main. GitHub Pages builds and deploys Jekyll automatically. No CI configuration required.