Extracting categories from a page works but tanles template now is
broken