Rather than customise the templates supplied with the Phoenix Framework, I would like to create a set of my own and have those callable as a custom mix task.
I can create a custom mix task, but cannot figure out:
Where within the phoenix framework directory structure to put the directory of custom templates
How to modify the module Mix.Tasks.???.Gen.Html so that the Mix.Phoenix.copy_from paths(), ... can find the directory where the custom templates are stored. (Where ??? is the string for the name of my customisation. That is a copy of the Mix.Tasks.Phoenix.Gen.Html module that I have renamed and can successfully run with the unmodified code successfully finding the supplied templates)
There was a thread on the Phoenix Github Issues that spoke to this topic somewhat but did not help with the directory paths to use.
Any suggestions or pointers to projects that have implemented their own custom templates would be much appreciated.