Joe Mooring
Joe Mooring
```text compare.Conditional CONTROL ARG1 ARG2 ``` Without another special case in the AST transformer we can't do lazy evaluation of `ARG1` and `ARG2`, but can we at least improve the...
This was addressed by the addition of `resources.PostProcess` (https://github.com/gohugoio/hugo/pull/6956) and later with `templates.Defer` (https://github.com/gohugoio/hugo/pull/12587).
Closing per [these comments](https://github.com/gohugoio/hugo/pull/13541#issuecomment-2775112638). With v0.146.0 and later, doing this: ```text {{ define "_partials/foo.html" }} {{ end }} ``` Is effectively the same thing as doing this: ``` touch layouts/_partials/foo.html...
Closing. > what you ask for is not possible
Other than a stray debug statement, this looks good to me.
A variation of this problem:
This is an upstream issue. https://github.com/gohugoio/hugo/blob/e6574cf7a778bf2bf14bb635668f5aa84f8175ed/resources/images/smartcrop.go#L76 The `rect` returned by [`smart.FindBestCrop`](https://github.com/muesli/smartcrop/blob/f1935b108c21d44756141bfebf302dfd7b03fdbe/smartcrop.go#L127-L176) is the wrong size. I haven't spent any time trying to understand what that function does, but it looks...
> I assume that layers could possible be handled by wrapping it in... Yes, this works. ```text @layer test { @import "test.css"; } ```
@dependabot rebase
We hid the instagram config from the docs in https://github.com/gohugoio/hugo/pull/14124, but at some point we should remove (or deprecate then remove) them.