boilr
                                
                                
                                
                                    boilr copied to clipboard
                            
                            
                            
                        Conditional creation of directories
Is there a way to conditionally create a directory, based on a parameter? For example:
.
├── project.json
└── template
    └── LICENSE
    ├── README.md
    └── {{if eq ConditionalDir "conditional"}}
With a project.json of:
{
    "ConditionalDir": false
}
This of course wouldn't work, being an invalid template, but is there a way? I have a Go package I often don't want to include.
In addition to this question, I am also very interested in conditionally creating files ... ;-)