Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A blank Hugo starter theme with a Webpack 5 build workflow for compiling Sass and JavaScript.
Hugo Starter Theme is a blank starter theme for the Hugo static site generator that pairs Hugo templates with a Webpack 5 UI build workflow for Sass and JavaScript.
It is a minimal Hugo theme that provides a starting directory structure and build tooling instead of pre-designed page styles. It takes Hugo content files (Markdown with front matter) and outputs a static website with compiled CSS and JavaScript. The theme is published on GitHub by developer Jim Frenette under the repository name hugo-starter, and it is listed with the topics hugo, hugo-blog-theme, hugo-theme, sass, and webpack.
npm run dev creates an unminified development build with sourcemaps, while npm run build outputs production-ready assets to the theme's dist folder.git submodule add https://github.com/jimfrenette/hugo-starter.git themes/starter, keeping the theme pinned to a specific commit alongside site content.disqusShortname = YOURSHORTNAME in the Hugo site configuration file.HUGO_ENV=production is set before the hugo build command, so tracking stays off during local development.hugo server -D serves the site at http://localhost:1313 and rebuilds when content or templates change.hugo server -D and npm run dev together to preview unminified, source-mapped CSS and JavaScript.npm run build then HUGO_ENV=production hugo to generate minified assets and enable Google Analytics.The theme runs two parallel processes: Hugo renders the site from content and templates, while Webpack compiles the theme's Sass and JavaScript into the dist folder. After adding the theme as a submodule, you install Node dependencies with npm i inside themes/starter, then use npm run dev or npm run build to produce assets, and serve or build with Hugo.
Yes, the theme is open source on GitHub and can be freely used, modified, and redistributed for personal or commercial projects.
No, it is a blank starter theme without prebuilt page styles or demo content. It gives you the file structure and build tooling so you can create the design yourself.
Only if you plan to run the Webpack asset pipeline. The Hugo templates function without Node, but compiling the theme's Sass and JavaScript requires Node v12 (lts/erbium) as documented.
Set disqusShortname in your Hugo site configuration to your Disqus shortname, then rebuild the site. The theme will render the Disqus thread on comment-enabled content.
