Joe Mooring

Results 604 comments of Joe Mooring

Thinking about this some more, I'm not sure we should _ever_ warn about this. For example: ```text --- title: foo params: title: bar ``` Although we are using the same...

Yeah, this is broken, somewhat related to . Do this instead: ```text {{ $original := .Resources.Get "test.jpg" }} {{- $png := $original.Resize "400x png" }} {{- $jpg := $original.Process "resize...

This works as expected: ```text {{ with resources.Get "a.png" }} {{ $filter := images.Padding 20 "#ff000055" }} {{ with . | images.Filter $filter }} {{ end }} {{ end }}...

This works as expected (border is ~ 50% opaque blue): ```text {{ $i := resources.Get "a.jpg" }} {{ $filters := slice (images.Process "resize x200 png") (images.Padding 20 "#00f7") }} {{...

I am unable to reproduce the problem as described. ```text git clone --single-branch -b hugo-github-issue-11601 https://github.com/jmooring/hugo-testing hugo-github-issue-11601 cd hugo-github-issue-11601 rm -rf resources/ public/ && hugo ``` Then look at the...

I just noticed that you installed Hugo using the snap package, and now I can recreate the problem. Remove the snap package and install using a [prebuilt binary](https://gohugo.io/installation/linux/#prebuilt-binaries).

EDIT 2025-08-30T09:04:13-07:00 The original resource URL is no longer functional. Use `https://www.rassoc.com/gregr/weblog/feed/` for testing. --- This is a bug, a limitation of the snap package, so I'm going to re-open....

@bep, My memory is a bit fuzzy on this. We do this when running `hugo server`: https://github.com/gohugoio/hugo/blob/c4a530f104f2b0d1dd82211b77b603a07db7c181/hugolib/site.go#L398-L406 Is there a downside to doing this with `resources.GetRemote`?