Adding meta and div tags in templates