[web2py] Re: serving static content that extends a base layout

2010-05-23 Thread infodoc
Yarko, Thanks for your well wishes, & response - it sparked an idea. Define a function x in a controller file y. For example, I defined a function named 'static' in controller default.py: def static(): #return a static html page that extends a base layout if request.args: respons

[web2py] Re: serving static content that extends a base layout

2010-05-23 Thread Yarko Tymciurak
On May 23, 3:16 pm, infodoc wrote: > Hello, > > New to web2py. First post. > > What is the best way to serve static html content such as contact > info, privacy policy, etc.  As I want the content to extend a base > html layout, putting it in the static subdir and using the static > controller do