Closed pfrankw closed 6 years ago
Adding little "if" to check if algolia is enabled in the theme settings.
In my specific case, I have not installed the hexo-algolia package nor I have these variables in my hexo config, so the rendering of the theme was crashing.
thanks!
Adding little "if" to check if algolia is enabled in the theme settings.
In my specific case, I have not installed the hexo-algolia package nor I have these variables in my hexo config, so the rendering of the theme was crashing.