The "and also add on the standard edX stuff" is embodied in the inheritance of a template from main.html.