When you publish your site, hugo creates the entire static site in the public directory in the root of your project This includes the html files, and assets such as images, css files, and javascript files. Install hugo on macos, linux, windows, bsd, and on any machine that can run the go compiler tool chain. Hugo is the world's fastest static website engine It's written in go (aka golang) and developed by bep, spf13 and friends. Quick start create a hugo site in minutes
Directory structure an overview of hugo's directory structure Hugo publishes descendants of draft, future, and expired node pages To prevent publication of these descendants, use the cascade front matter field to cascade build options to the descendant pages. Although not required in all cases, git, go, and dart sass are commonly used when working with hugo. Host your site with services such as cloudcannon, cloudflare pages, github pages, gitlab pages, and netlify New template system overview of the new template system in hugo v0.146.0
Lookup order hugo uses the rules below to select a template for a given page, starting from the most specific Template types create templates of different types to render your content, resources, and data. Hugo list published list published content Hugo mod clean delete the hugo module cache for the current project Hugo mod get resolves dependencies in your current hugo project Hugo mod graph print a module dependency graph
Hugo mod init initialize this project as a hugo module Hugo mod npm various npm helpers
OPEN