Krzysztof Szularz d57874953f
Update index page with correct link to jsdelivr (#3490)
The current link is not working as the specified version doesn't exist as opposed to https://www.jsdelivr.com/package/npm/htmx.org?tab=files&version=4.0.0-alpha1
2025-11-06 19:35:37 -07:00
..
2025-11-02 23:57:36 -07:00
2025-10-31 19:58:36 +02:00
2025-11-02 22:51:22 -07:00
2025-11-04 07:51:18 -07:00
2025-10-29 07:09:48 -06:00

Running The Website Locally

The htmx.org website is built with Zola. To run the site, install Zola; then, from the root of the repository:

cd www
zola serve

The site should then 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/), etc
  • themes/htmx-theme/ - the htmx zola theme
    • static/css/ - stylesheets (site.css, os9.css)
    • static/js/ - js files (htmx.js, _hyperscript.js, etc.)
    • templates/ - theme-specific templates
  • config.toml - zola config file
  • public/ - generated output (created by zola build)