[HN Gopher] Hugo's New CSS Powers
___________________________________________________________________
Hugo's New CSS Powers
Author : speckx
Score : 33 points
Date : 2026-04-02 18:16 UTC (4 hours ago)
(HTM) web link (www.brycewray.com)
(TXT) w3m dump (www.brycewray.com)
| brycewray wrote:
| Author here. This post arose out of a recent thread on the Hugo
| Discourse:
|
| https://discourse.gohugo.io/t/hugo-v0-158-0-released/56868
| giancarlostoro wrote:
| Good call out from that thread is he's trying to get a small
| change in esbuild added to help with this as well.
|
| https://github.com/evanw/esbuild/issues/4419
| brycewray wrote:
| Yes; hope that gets blessed. We shall see.
| extra88 wrote:
| BTW, there's a glitch in your code snippet syntax highlighting;
| in Light mode, the 'p' selector is remaining an unreadable
| yellow.
| nine_k wrote:
| Nice! (But I must say that Zola has this built-in since forever.)
| brycewray wrote:
| For Sass, yes[0] --- as has Hugo[1]. Hugo's recently added
| `css.Build` function, based on esbuild, is for post-processing
| vanilla CSS.
|
| [0]: https://www.getzola.org/documentation/content/sass/
|
| [1]: https://github.com/gohugoio/hugo/releases/tag/v0.43 (July,
| 2018)
| imagetic wrote:
| Yeah Bryce!
___________________________________________________________________
(page generated 2026-04-02 23:01 UTC)