The CSPage Container

T
he top-level container, which is constructed by the Dispatch handler, is an object of the CSPage class. It is responsible for adding the characteristic computer science header and footer.

The page object has a number of methods, useful for manipulating its appearance:

page.set_type(t)
Set the type, or section, that this page is in. t should be one of info, people, courses, research, or events.
page.set_title(t)
Set the title of the page (affects the <title> tag).
page.add_navigation(url, text)
Add a navigation link to url with name text.
page.add_mode(url, text)
Add a mode link to url with name text.
page.add_help(url, text)
Add a help link to url with name text. Help links are currently unused, but will appear in the yellow bar just like navigation and mode links.