Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Victor Hugo is a Netlify boilerplate combining the Hugo static site generator with a Webpack 5 asset pipeline.

A full-stack Next.js TypeScript template focused on functionality over UI, featuring Zustand, TanStack Query, and ESLint 9 support.
Victor Hugo is a Netlify-built boilerplate that pairs the Hugo static site generator with a Webpack 5 asset pipeline to produce static websites with a modern front-end build workflow.
Victor Hugo is a free, MIT-licensed boilerplate maintained by Netlify that uses Hugo for content generation and Webpack 5 for compiling and bundling CSS and JavaScript. It takes content from the site/ directory and source assets from src/, processes them through PostCSS v8 and Babel v7, and outputs a static website into /dist. The template has over 1,500 GitHub stars and is designed for deployment on Netlify.
src/index.js are bundled, compiled with PostCSS Next, and minified to dist/[name].[hash:5].css.getenv "NODE_ENV" for conditional logic.site/static are copied verbatim to the web root, so images, fonts, and favicons do not pass through Webpack.npm start launches Webpack Dev Server at http://localhost:3000/ with automatic CSS reload and full-page refresh on content changes.npm run preview runs Hugo server with --buildDrafts --buildFuture, and npm run build:preview creates a static build that includes unpublished content.site/content, customize layouts in site/layouts, and generate a static site into /dist.site/static and use Hugo templates to render project galleries.site/data with the asset pipeline for a company landing page.Clone the repository, run npm install to fetch dependencies, then use npm start for local development. Write content in site/content and add styles or scripts to src/; Webpack bundles them at build time. Run npm run build to produce a static site in /dist, then push the repo to GitHub and link it to Netlify for automated deploys.
Victor Hugo is free and open source under the MIT license.
Yes, Victor Hugo is released under the MIT license. You can use, modify, and redistribute it freely, including for commercial projects.
The template was tested with Node.js v16 and npm v6. Running other versions may lead to installation or build failures, so it is best to match those versions.
Netlify has formally deprecated this boilerplate and is no longer actively developing it. The deprecation notice suggests Hyas as the recommended alternative.
After cloning and building your site, push it to a GitHub repository. Then create a new site on Netlify and link that repository; Netlify automatically runs the build on each push. The repository also includes a Deploy to Netlify button for one-click setup.
