BlogServer - fixed bug in generating correct links and permalinks