Why don't you do /static/template1 and /static/template2? On Monday, June 1, 2015 at 2:04:23 PM UTC-4, [email protected] wrote: > > Hello all, > > Thanks for the great framework. > > I have a question: > How would I achieve the setup, > assume we have different templates: > > /views/template1 > /views/template2 > ... > > so I can switch between templates just passing variable of the template > name. > (ex: current.config.template_folder) > How could I use static/ per template (not shared as we have by default)? > Example: > /views/template1/static/css > /views/template1/static/js > /views/template1/static/images > > Thanks. >
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-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.

