<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/release-v0-167-0-gohugoio-hugo-pesdec5et" -->

---
title: Release v0.167.0 · gohugoio/hugo | daily.dev
description: Hugo v0.167.0 changes the default baseURL to https://example.org/, fixes several bugs including smartcrop rotation, stale page content on batched file changes,...
canonical: https://daily.dev/posts/release-v0-167-0-gohugoio-hugo-pesdec5et
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Release v0.167.0 · gohugoio/hugo | daily.dev
og:description: Hugo v0.167.0 changes the default baseURL to https://example.org/, fixes several bugs including smartcrop rotation, stale page content on batched file changes,...
og:url: https://daily.dev/posts/release-v0-167-0-gohugoio-hugo-pesdec5et
og:image: https://api.daily.dev/og/posts/PESDEC5eT.png
og:image:alt: Release v0.167.0 · gohugoio/hugo
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Release v0.167.0 · gohugoio/hugo

**[Hugo](https://daily.dev/sources/hugo)** · 3 min read · 3 upvotes · 0 comments

## Summary

Hugo v0.167.0 changes the default baseURL to https://example.org/, fixes several bugs including smartcrop rotation, stale page content on batched file changes, and Go 1.26 build issues on Fedora 44 Beta. Improvements include a new build.cleanDestinationDir config option, slug support for section/taxonomy/term pages, relative partial paths within partials, security confinement of Sass and ESBuild fallback resolvers to allowed read paths, and performance optimizations. Several dependency bumps round out the release.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/gohugoio/hugo/releases/tag/v0.167.0>

## Questions this post answers

### What is the new default baseURL in Hugo 0.167.0?

The default baseURL in Hugo 0.167.0 is now https://example.org/, changed from its previous default. This is a breaking-style note in the release, so sites relying on the old default value should check their configuration after upgrading to avoid unexpected URL generation.

_Track Hugo config defaults like this on daily.dev before they surprise a production build._

### How do I clean the destination directory in Hugo before a build?

Hugo 0.167.0 adds a build.cleanDestinationDir configuration option that lets Hugo remove the destination directory contents before building. It also fixes handling of a missing staticDir when this cleaning option is used, making the build output more predictable.

_Follow new Hugo config options like this on daily.dev when tuning a static site build pipeline._

### Does Hugo 0.167.0 fix build issues with Go 1.26 on Fedora?

Yes, Hugo 0.167.0 includes a fix for building Hugo with Go 1.26 on Fedora 44 Beta, resolving a compile failure encountered on that specific Go and distro combination.

_Developers juggling Go toolchain upgrades can follow fixes like this on daily.dev._

## Similar posts on daily.dev

- [Release v0.36.0 · jj-vcs/jj](https://daily.dev/posts/release-v0-36-0-jj-vcs-jj-rj0l0jz1v) · Lobsters · 2 upvotes · 0 comments

---

Tags: [#golang](https://daily.dev/tags/golang)

[View this post on daily.dev](https://daily.dev/posts/release-v0-167-0-gohugoio-hugo-pesdec5et)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Release v0.167.0 · gohugoio/hugo","url":"https://daily.dev/posts/release-v0-167-0-gohugoio-hugo-pesdec5et","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/release-v0-167-0-gohugoio-hugo-pesdec5et"},"datePublished":"2026-09-28T15:38:42.672Z","dateModified":"2026-09-28T15:39:04.321Z","description":"Hugo v0.167.0 changes the default baseURL to https://example.org/, fixes several bugs including smartcrop rotation, stale page content on batched file changes,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/870df2698e48e8ae405a7f91c56b9d85?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/870df2698e48e8ae405a7f91c56b9d85?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hugo","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hugo","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0b9e9e4bd6dc4a96bba3ca9663c6d6b7","url":"https://daily.dev/sources/hugo"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/release-v0-167-0-gohugoio-hugo-pesdec5et","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"golang","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hugo","item":"https://daily.dev/sources/hugo"},{"@type":"ListItem","position":3,"name":"Release v0.167.0 · gohugoio/hugo"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/release-v0-167-0-gohugoio-hugo-pesdec5et#faq","mainEntity":[{"@type":"Question","name":"What is the new default baseURL in Hugo 0.167.0?","acceptedAnswer":{"@type":"Answer","text":"The default baseURL in Hugo 0.167.0 is now https://example.org/, changed from its previous default. This is a breaking-style note in the release, so sites relying on the old default value should check their configuration after upgrading to avoid unexpected URL generation. Track Hugo config defaults like this on daily.dev before they surprise a production build."}},{"@type":"Question","name":"How do I clean the destination directory in Hugo before a build?","acceptedAnswer":{"@type":"Answer","text":"Hugo 0.167.0 adds a build.cleanDestinationDir configuration option that lets Hugo remove the destination directory contents before building. It also fixes handling of a missing staticDir when this cleaning option is used, making the build output more predictable. Follow new Hugo config options like this on daily.dev when tuning a static site build pipeline."}},{"@type":"Question","name":"Does Hugo 0.167.0 fix build issues with Go 1.26 on Fedora?","acceptedAnswer":{"@type":"Answer","text":"Yes, Hugo 0.167.0 includes a fix for building Hugo with Go 1.26 on Fedora 44 Beta, resolving a compile failure encountered on that specific Go and distro combination. Developers juggling Go toolchain upgrades can follow fixes like this on daily.dev."}}]}
```

