Files
htmx/www
Carson Gross 5690bbc64c alpha2 prep
2025-11-10 12:14:17 -07:00
..
2025-11-10 12:14:17 -07:00
2025-11-10 12:14:17 -07:00
2025-11-10 11:12:51 -07:00
2023-03-18 11:29:38 -04:00
2023-04-06 11:04:36 -06:00

Running The Website Locally

The htmx.org website is built with Zola.

Use npm run site to run the site locally.

The site will be available at http://localhost:1111

Folder Structure

  • content/ - markdown content for the site (docs, examples, essays, attributes, etc.)
  • templates/ - zola HTML templates (base, page, section layouts)
    • shortcodes/ - template components that can be used in markdown
  • static/ - static assets: images (img/), JavaScript (js/), stylesheets (css/)
  • config.toml - zola config file
  • syntax-theme.tmTheme - TextMate syntax highlighting theme for code blocks in Markdown
  • public/ - generated output (created by zola build)