{ ejs }

  • Hexo Environment Variables

    | /

    When we debug Hexo, we always encounter scenarios where we need to block some production environment logic. Such as some of Google’s JS libraries and so on.

    So we need some way to distinguish debug environment, production environment, etc. What we probably need are environment variables.

  • When Hexo Comments Dont Match Post

    | /

    Last week I introduced a commenting system on my hexo blog.

    It all went well at first, until I found that at some point, the comment area and the blog post itself didn’t match.

    Finally I modified some code writing and finally fixed the problem.

    This blog post documents this slightly tortuous process.