Added a 'directory_url' field to the data pertaining to the page so it can be accessed in the template.