pass `root_path` variable to templates to make link building easier