Templates and rendering code. Still giving 404s for reasons tbd.