Phoenix macro to render template if it exists in module

Maybe this would help? Current file (module) path - #3 by wojtekmach