protected function all() : array
	{
		//TODO: refactor this when working on the front end.

		$breadcrumb = $this->data->except('page');

		if ($this->data->has('category')) {
			$breadcrumb = $breadcrumb->merge($this->category());
		}

		return $breadcrumb->all();
	}