fix `hexo g` error when categories not set in scaffold file
fix `hexo g` error when categories not set in scaffold file

tangkunyin/hexo-theme-jsimple,tangkunyin/hexo-theme-jsimple,tangkunyin/hexo-theme-jsimple