Open navClose nav

Static Files

Static files are files that are not processed by your static site generator. Instead, they are just copied over as-is at built time.


  • Hugo: static files live in the staticDir, which defaults to /static.
  • Gatsby: static files lives in the static folder.
  • NextJS: static lives in the /public folder.
  • Gridsome: static directory is /static.
  • NuxtJS: static files live in /static folder.
  • VuePress:: static files live in .vuepress/public.
  • Jekyll: any file without front matter.
  • Eleventy: anything passed to the addPassthroughCopy function in your config file.

Last updated on June 11, 2020