Skip to content

Using the Archive Pipeline with a custom pipeline #145

Answered by daveaglick
juchom asked this question in Q&A
Discussion options

You must be logged in to vote

Wow, you're making a ton of progress! Hopefully I've got some answers to this latest set of questions...

Can I ask Statiq to ignore the posts/**/* directory and process all other contents normally and let me use my pipeline for this directory ?

So there's a feature configured via the fluent API named .AddExcludedPath() that lets you exclude a directory entirely from Statiq. The impact of that though is that any pipeline will treat the path as excluded - it'll essentially appear invisible. This is useful when integration with other toolchains like webpack but isn't quite what you want.

What you'll probably need to do is adjust the globbing pattern that gets used by the built-in modules t…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@juchom
Comment options

@daveaglick
Comment options

@juchom
Comment options

@daveaglick
Comment options

@juchom
Comment options

Answer selected by juchom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants