Joe Mooring
Joe Mooring
I'm not sure how we would even determine user intent with the site config above. Currently the `printPathWarnings` flag is used to check both duplicate content paths (this issue) and...
Additional findings... This content structure (regular pages as shown in the integration test above) triggers the warning: ```text content/ ├── en/ │ ├── p1.md │ └── p2.md └── es/ └──...
@sarahg This is great information about the GitLab Docs setup. https://github.com/gohugoio/hugo/pull/13679 is about [content dimensions](https://github.com/gohugoio/hugoDocs/pull/3116/files#diff-60c1c451d0bf760a7cb7c72983c356fc920b8bffe024dbe9c6e9b9a125523fc6), where every page can exist in one or more languages, one or more versions, and...
In Hugo #13995, we changed the "duplicate content path" warning to an info log. Now, hugo `--printPathWarnings --panicOnWarning` won't fail the build when you use content mounts to provide missing...
Note that using the `ignoreFiles` setting in the root of the site configuration produces the desired results, but we've been recommending the use of mount exclusions instead.
Thanks for the clarification. This obviously isn't a high priority.
`getenv "HUGO_ENV"` is used throughout the code base (5 instances). Not sure why we're using an OS template function instead of one of these: [`hugo.Environment`](https://gohugo.io/functions/hugo/environment/), [`hugo.IsDevelopment`](https://gohugo.io/functions/hugo/isdevelopment/), [`hugo.IsProduction`](https://gohugo.io/functions/hugo/isproduction/), or [`hugo.IsServer`](https://gohugo.io/functions/hugo/isserver/). Perhaps...
Maybe the expedient way to fix this issue and #12971 is to remove the `npm install` stuff from the image. Users would have to run `npm ci` themselves before running...
This test fails with Dart Sass v1.80.1. ```go // Issue #12961 func TestDartSassVars(t *testing.T) { t.Parallel() files := ` -- hugo.toml -- disableKinds = ['page','section','rss','sitemap','taxonomy','term'] -- layouts/index.html -- {{ $opts...
https://github.com/gohugoio/hugo/blob/e971b7d866d8834022f0038b094dce4352338f74/resources/resource_transformers/tocss/internal/sass/helpers.go#L52-L58 This solves the problem when using the Dart Sass transpiler: ```go varsSlice = append(varsSlice, fmt.Sprintf("%s%s: string.unquote(%q);", prefix, k, v)) } } } sort.Strings(varsSlice) varsStylesheet = `@use "sass:string";` + "\n"...