Update header to receibe base_url as a local option for the template