博客从 Netlify 换到 Cloudflare Pages,没啥特别理由,就是域名在 cf 上面放一起管省事。理论上 CF 的 build 和带宽给得大方一点,但是对个人小破博客都没差。两个跟 Netlify 不一样导致的坑:默认 hugo 版本太老会构建失败,需要自己加 env 指定;自定义域名必须用 Pages 里的专用选项,不能自己 CNAME 不然解析不通。CF 的网似乎快一点。
Please be advised that this post was written or last updated a while ago and may therefore contain outdated information or opinions I no longer hold.
请知悉本文自写作或上次更新已届相当时限,或包含过时信息及观点。