removes title and nav from main.html