If my interpretation of the main.html template is correct, this content should go inside the headextra block (without the head tags); as is, doesn't this put a head element inside a body element?