blog.cuile.com
上传后,Settings > Pages > Custom domain 设置中会出现自定义的域名
# config/_default/config.toml
...
baseurl = "https://blog.cuile.com/"
...
其它不过多说明了,网上教程非常多,可以找来看。
参考文档
这可能是https请求报"block:mixed-content"错误导致的,是浏览器不允许在https页面里嵌入http的请求,现在高版本的浏览器为了用户体验,都不会弹窗报错,只会在控制台上打印一条错误信息。
解决这个问题,可以从以下2点入手:
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
# 使用扩展版本
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.92.0'
extended: true
# 使用标准版本
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'