all
You must replace the baseURL in hugo.toml file when deploying, you can manage this announcement from the params.toml file.

Spawn

Child process API: spawn vs exec

利用 Node.js 编写一些命令行工具、一次性脚本是很方便的,而在这类场景下 child_process API 的 spawnexec 方法的应用则非常常见。在我使用它们时,却不知道该如何进行选择,遂对此进行了探究。

了解更多