to make lanyon homepage work with subdirectory