Use slug in page lifecycle