Added the {{ url() }} function to generate URLs to pages. Also added some checks to make sure there is a suitable error message if the specified project or theme doesn't exist.