In base_index.html: Removed unused markup, extracted components into their own templates.