category template add and diary_url start