#!/usr/bin/env python from nevow import loaders, rend class MainPage(rend.Page): addSlash = True docFactory = loaders.xmlfile('index.html') def render_header(self, context, data): return "Header HERE"