Added categories and tweaked 'related posts' generation based on them