legalese / legalese.github.io

Static assets for legalese.com
https://legalese.com/
70 stars 27 forks source link

throw error if a normal template tries to include an exploder template #125

Open mengwong opened 8 years ago

mengwong commented 8 years ago

an exploder template expects a certain context which is not available to a normal template.

of course it won't work when a normal template includes an explodey one.

the include() function should detect this and throw an appropriate error.