Passing command line arguments to hexo templates

npx hexo generate –variable value

Setting the hexo env variable

NODE_ENV=production