connect categories to posts

Signed-off-by: Alexander Skjolden <alex@plastboks.net>