fix related post plugin error after upgrade to Jekyll 1.0.3