GeistHaus
log in · sign up

Deprecations in v0.158.0

discourse.gohugo.io

Background In v0.158.0 we renamed some language-related template methods and their corresponding project configuration settings. Although there were several reasons for doing so, the primary reason was to eliminate API stutter. API stutter refers to a redundant naming convention where a library or package name is repeated in its own exported types or functions, such as Language.LanguageDirection. Deprecated template methods The following table outlines the transition from stuttering methods to...

4 pages link to this URL
Release v0.158.0 · gohugoio/hugo

This release adds css.Build, native and very fast bundling/transformation/minifying of CSS resources. Also see the new strings.ReplacePairs, a very fast option if you need to do many string replace...

6 inbound links object en repository:11180687