statiqdev / Statiq.Web

Statiq Web is a flexible static site generator written in .NET.
https://statiq.dev/web
Other
1.64k stars 234 forks source link

Setting custom path stopped working after updating to version 1.0.0-beta.38 .AddSetting(WebKeys.InputPaths, new List<string>() { }) #978

Closed Feiko closed 2 years ago

Feiko commented 2 years ago

I differentiate between blogs and vlogs by putting them in different directories. From version 1.0.0-beta.38 upwards, this apparently stopped working. If I put by blogs in the directory /input/posts/, I see the content being generated.

I specify the custom directories with the following line of code in program.cs:

.AddSetting(WebKeys.InputPaths, new List<string>() { "input", "files", "blog", "vlog" })

I need to have the content in different directories so netlify CMS can differentiate between blogs and vlogs.

daveaglick commented 2 years ago

Thanks for the report - this is definitely a regression. I can repro and have a failing test, so I should be able to get this fixed up quickly.

Feiko commented 2 years ago

Thanks @daveaglick looking forward to the fix.

daveaglick commented 2 years ago

This should be resolved now and a new version has been published. Let me know if you're still having trouble after updating.

Feiko commented 2 years ago

This fixed the problem for me 👍. Thanks for the quick action!