Static site generators

November 19, 2024 ยท View on GitHub

Let's figure out how different static site generators output static files for route /myPath.

Jekyll

  • Command: jekyll build
  • Default output: /myPath.html
  • Configuration: no options available

Gatsby

  • Command: gatsby build
  • Default output: /myPath/index.html
  • Configuration: no, but various plugins exist

Next.js

Docusaurus

Nuxt

  • Command: nuxt generate
  • Default output: /myPath/index.html
  • Configuration (Nuxt v2): trailingSlash option

Hugo

  • Command: hugo
  • Default output: /myPath/index.html
  • Configuration: no options available

Angular Prerendering

TODO: add other static site generators

TODO add all other static site generators