I'm not too familiar with the "theme" pattern, but it seems like the point of namespacing is that things can live together without namespace collision and the point of themes is swappability. Presumably only one theme is applicable at a time so collisions aren't a concern, and if you namespace them they're not swappable.
On Tue, Oct 18, 2016 at 4:06 PM, <[email protected]> wrote: > > Is it a good practice to namespace* templates/ *and *static/* directories > with app name for my two mezzanine apps: *theme1* and *theme2* ? > > For example, is it good idea to create template files like this: > *theme1/templates/theme1/*.html* and static files like this: > *theme2/static/theme2/js/*.js* ? > > I am only modifying the *base.html* and *index.html* in my theme; > everything else is from default theme unchanged. If I namespace > *templates/* and *static/* directory for my *theme1* and *theme2* apps as > above, what other changes do I have to make? > > -- > You received this message because you are subscribed to the Google Groups > "Mezzanine Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
