Conditionally ignore content?

17 views
Skip to first unread message

randall...@gmail.com

unread,
Apr 9, 2020, 6:37:54 AM4/9/20
to JBake Users
I have a single content directory that is used to produce both a website and the offline help included in an application.

There are contents that belong in the website that do not belong in the offline help. Is there a way to conditionally exclude this content depending on which jbake.properties file is used to build the end result?

Randall

Jonathan Bullock

unread,
Apr 11, 2020, 9:45:04 AM4/11/20
to randall...@gmail.com, JBake Users
Hi Randall,

Not out of the box, there is the option to ignore certain folders: https://jbake.org/docs/2.6.4/#ignoring_files_and_directories but you'd to add/remove the .jbakeignore prior to performing a bake.

Jon

--
You received this message because you are subscribed to the Google Groups "JBake Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbake-user+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/jbake-user/d822e242-9f3e-431a-b2ca-b9c43f10fc89%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages