Skip to content

Commit 59f2564

Browse files
petrsvihlikclaude
andcommitted
Exclude input/projects/ from Statiq built-in Content pipeline
Without this, Statiq.Web's Content pipeline picks up projects/*.md and fails with a NullReferenceException trying to render them as pages. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent d3858d5 commit 59f2564

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ await Bootstrapper
1212
.CreateDefault(args)
1313
.AddWeb()
1414
.AddHostingCommands()
15+
.AddSetting(WebKeys.ContentFiles, new[] { "**/{!_,}*.{html,cshtml,md}", "!projects/**" })
1516
.RunAsync();
1617
}
1718
}

0 commit comments

Comments
 (0)