It seems Jekyll lets you do parameterized includes as well as if/else statements. Make use of this here.
include
Start with B9S install from SafeB9SInstaller as an example