mrkeyoor.comAsk

gohugoio/hugotested 24 Aug 2026commit a25af7f

hugo review

Hugo is a reasonable candidate for a static publication or documentation site when its templates, content model, and asset tooling fit the team.

  • Install 76 s
  • Build timed out
179/191passed, run exited non-zero
  • 432 packages
Webevaluationupdated 26 Oct 2026
+50stars / 7d

Hugo is a static site generator written in Go. It turns content, templates, configuration, and assets into a website for a web host or CDN. Its documented multilingual support, taxonomies, and asset pipelines make it worth considering for publications and documentation sites. Our recorded source run did not measure site-generation speed or validate a published binary.

Verdict

Hugo is a reasonable candidate for a static publication or documentation site when its templates, content model, and asset tooling fit the team. Our August 24, 2026 source run at a25af7f timed out during the build step and returned failures during the separate test step. It did not establish that Hugo is broken, that a published binary installs successfully, or that a large site builds quickly. Start with the documented prebuilt installation route, pin the edition and version, and validate representative content and generated output before adopting it.

We ran it

Lab card: what happened when we ran hugo
Lab card from our sandbox run
Screenshot of hugo (gohugo.io)
gohugo.io
Install✓ · 76s432 packages
Build✗ timed out · 900s
Tests✗ · 375s179 passed · 12 failed of 191 (go test)
Repo2548 files~238,539 lines of source · 26.9 MB · 3 CI workflows · Dockerfile

Answers from our run

Does hugo build from source?

Dependencies installed in 76 seconds (432 packages), and the build failed. We cloned commit a25af7f into a clean Debian container with 3 CPUs and no project-specific setup.

Do hugo's tests pass?

No. The project's own test command finished in 375 seconds and reported 179 passed, 12 failed (go test).

Who should not use hugo?

Teams expecting Hugo alone to supply request-time authentication, per-user responses, or application business logic.

What are the alternatives to hugo?

Zola, Jekyll. Hugo is a reasonable candidate for a static publication or documentation site when its templates, content model, and asset tooling fit the team.

Setup3/5Documented binary and package installation routes; our August 24, 2026 run at a25af7f verified neither an installed CLI nor a completed source build. The build step timed out.
Docs4/5The supplied documentation index covers installation, configuration, content, templates, modules, assets, deployment, and troubleshooting. Individual guide accuracy and completeness were not comprehensively tested.
Community3/5The README directs support to a forum, and issue #15234 shows maintainer action and closure. Support response times, daily activity, and adoption were not measured.
Maturity3/5Documented editions, v0.165.0 maintenance notes, and closure of #15234 support evaluation. Our limited source run does not establish production reliability or large-site performance.

Discussed on

  1. hn78MB Hugo binary is full of paths and URLs9 points
  2. hnHugo 0.122 supports LaTeX or TeX typesetting syntax directly from Markdown3 points

Who it’s for

Publishers and documentation teams who want file-based content, templates, multilingual support, and asset processing.
Developers willing to learn Hugo's templates and content organization.
Teams deploying generated files to a web host or CDN.
Site authors who can evaluate a pinned Hugo binary against their own content and asset requirements.

Who it’s NOT for

Teams expecting Hugo alone to supply request-time authentication, per-user responses, or application business logic.
Teams unwilling to maintain templates and site configuration.
Projects committed to embedded LibSass indefinitely: the README says it was deprecated in v0.153.0 and will be removed in a future release.
Anyone requiring this review to establish installation success, production readiness, or large-site performance: our recorded run establishes none of those.

Setup reality

In our recorded run on August 24, 2026, at commit a25af7facfc9de3f17bcd82a9268ded595f0adb4, the setup step exited 0 after about 76 seconds. Its retained tail says go: downloading go1.27.0 (linux/amd64). The dependency summary records 432 entries. These observations do not establish that 432 packages were installed or that the Hugo CLI was installed and checked.

The build step timed out after about 900 seconds with exit 124 and an empty retained tail. The separate test step exited 1 after about 375 seconds. Its parser summary records 179 successful package results, 12 failed package results, and 49 package results with no tests. These are not counts of individual test cases, and exhaustive unique coverage was not verified.

The README offers prebuilt binaries, package managers, and package repositories. Its pinned version at our recorded commit specifies Git and Go 1.26.0 or later for source builds; the supplied current README specifies Go 1.27.0 or later. Extended source builds also require a C compiler such as GCC or Clang. The recorded container image was golang:1.24-bookworm; that label does not identify the effective toolchain used by later steps.

Choose the edition for the features you need. Standard supplies core features, deploy adds direct cloud deployment, and extended adds embedded LibSass support. The README recommends Dart Sass instead of deprecated LibSass and says Dart Sass works with every edition. We did not verify a prebuilt installation or build a representative publication.

A publishing decision with a limited source run

Hugo is worth evaluating when the deliverable is a directory of generated website files. Its README describes multilingual support, taxonomies, an embedded development server, asset processing, and modules for sharing content and configuration. Those capabilities suit a publication or documentation workflow. They do not establish how quickly your site will build.

The README says Hugo can render a complete site in seconds, often less. That is an upstream claim. Our recorded run compiled source and ran tests; it did not measure a content workload, compare generators, or check a published Hugo binary.

What our recorded run establishes

Our stored run began on August 24, 2026, at 15:14:04.327 UTC, using commit a25af7facfc9de3f17bcd82a9268ded595f0adb4. The recorded sandbox configuration had 3 CPUs, 8 GB of memory, and the image golang:1.24-bookworm.

The setup step exited 0 after 76.331 seconds. Its retained output says go: downloading go1.27.0 (linux/amd64). This records a toolchain-download message, not a verified installed Hugo executable or a confirmed effective runtime version. The dependency summary contains 432 entries; it does not prove 432 package installations.

The build step reached its timeout after 900.079 seconds and exited 124. Its retained output is empty. We cannot identify a compiler error, a failing build stage, or a cause from that record.

The separate test step ran for 374.694 seconds and exited 1. The parser recorded 179 successful package results and 12 failed package results, summarized as 191, plus 49 package results with no tests. The generic stored fields called these results passed and failed, but the raw record identifies them as package results. They are not an individual-test pass rate. No complete-log reconciliation established exhaustive unique coverage.

The retained tail does identify failing tests, including TestTailwindCSSNoInlineImportsIssue13719, TestBuildWithModAndNpm, TestBuildWithNpm, and TestCSSBuildBootstrapFromNPM. It also identifies failed packages in CSS/JavaScript resource transformation and template CSS. The excerpt does not establish why those tests failed. Their names alone cannot prove missing dependencies, a network restriction, or a product defect.

Repository measurements were 2,548 files, approximately 238,539 source lines, and 26.9 MB. Detection found three CI workflow files, a Dockerfile, and no top-level tests directory. Tests elsewhere in the repository ran, so that directory observation does not imply an absence of tests. These repository figures are not performance or quality benchmarks.

Choose an installation route and edition

The Hugo README documents prebuilt binaries, package managers, and package repositories. These routes let a site author evaluate Hugo without compiling the generator. We did not test them in this run.

Source requirements need a version label. The README at our recorded commit specifies Git and Go 1.26.0 or later. The supplied current README specifies Go 1.27.0 or later. Neither the container image label nor the setup-step success resolves which toolchain completed each later operation.

Hugo documents standard, deploy, extended, and extended/deploy editions. Standard supplies the core features. Deploy adds direct deployment to Google Cloud Storage, AWS S3, or Azure Storage. Extended adds embedded LibSass support and requires GCC or Clang when built from source. The README says embedded LibSass was deprecated in v0.153.0 and will be removed in a future release; it recommends Dart Sass, which works with any edition.

The supplied v0.165.0 release notes describe new CSS functionality and import-context support. They also record removal of tailwindcss from the default security.exec.allow list. If your site uses that executable, review the relevant configuration during an upgrade. This release-note entry is not a security finding from our run.

Check migration assumptions and generated output

Hugo's documentation separates configuration, content management, templates, modules, and asset pipelines. A useful trial should cover the parts your publication actually needs: representative content, links, templates, languages, and assets. Hugo itself does not supply request-time application behavior such as authenticated per-user responses.

The plain-Markdown proposal needs its discussion read alongside its opening complaint. The original request describes adding metadata and converting Markdown links. In January 2020, the author said link conversion had been solved through render hooks; the remaining discussion concerns title and metadata inference. The proposal is still shown as open and unscheduled in the supplied extract. It does not support a blanket claim that Hugo cannot handle Markdown without front matter. Check how your titles and links render with your chosen configuration.

The templates.Defer report describes incorrect escaping when identical deferred block bodies were used across HTML and plain-text output formats. The reporter tested Windows amd64 extended binaries, including v0.164.0 and v0.165.0, and reported successful command exits despite incorrect output. Those are the reporter's observations, not our sandbox results.

The supplied issue history shows that report closed as completed through #15252 on August 29, 2026, with milestone v0.166.0. It should not be described as an open current regression. The issue status also does not establish that we tested a released fix. For sites using deferred rendering across output formats, inspect generated files as well as command exit status.

Alternatives and the next step

Zola documents a single binary, Sass compilation, image processing, themes, and search without servers or third parties. It is a relevant candidate if those features match your static site. Its README does not establish that migration or templating will be easier for your team.

Jekyll renders Markdown and Liquid templates and identifies itself as the engine behind GitHub Pages. Consider it when that hosting and template workflow fits. We have no comparative workload measurements for Hugo, Zola, or Jekyll.

For Hugo, choose a documented installation route, pin the edition and version, and build a small but representative part of your site. Check titles, links, asset output, and any specialized rendering behavior before extending the trial. A source-build timeout is insufficient grounds either to reject Hugo or to recommend it as the safest choice.

How to read the scores

These are editorial evidence ratings, not benchmark results or adoption measurements. The scale is 1 for a documented obstacle to the intended use, 2 for substantial unresolved limitations, 3 for a documented route with material validation gaps, 4 for broad supporting documentation or implementation evidence with bounded limits, and 5 for comprehensive evidence corroborated for the assessed use. Missing evidence does not prove poor product quality.

Setup receives 3 because installation routes are documented but no installed-binary check succeeded in our evidence. Documentation receives 4 because the supplied index covers the main publishing tasks, though we did not assess every guide or example. Community receives 3 because the README describes forum support and the issue history shows maintainer action, while response times and adoption remain unmeasured. Maturity receives 3 because documented editions, release maintenance, and a completed bug report support continued evaluation, but our run does not establish production reliability.

Alternatives

ProjectWhat it isPick it when
ZolaA static site generator whose README lists a single binary, Sass compilation, image processing, themes, and a built-in search capability.Consider Zola when you want a single-binary static generator with these documented features. Compare its templates and your content requirements directly; the supplied evidence does not establish that it is simpler or has a smaller ecosystem.
JekyllA static site generator that renders Markdown and Liquid templates and is the engine behind GitHub Pages.Consider Jekyll when GitHub Pages and Liquid templates fit your publishing workflow. This review does not establish a build-speed advantage for either project.

What people are saying

  1. [github-trending] gohugoio/hugo

Sources

  1. Hugo README
  2. Hugo documentation
  3. Hugo v0.165.0 release
  4. Hugo templates.Defer escaping bug
  5. Hugo bare Markdown proposal

More web reviews