实现搭建Hogo通过GitHubAction自动发布到GitHubPages 思路 本地下载安装 hugo GitHub 创建2个仓库,分别作为源代码仓和博客仓 配置Action通过Git发布到分支,触发Action自动部署至博客仓 自定义CNAME 指定用已有的域名访问 实用命令 1hugo 打包 2hugo server 启动 3hugo version 看版本号 下载安装 Windows安装 在hugo github下载windows版本包,解压到目录,并添加到PATH即可 Ubuntu安装 1 sudo apt-get install hugo Mac安装 1 brew install hugo 创建站点 1github …
阅读更多Page bundles are an optional way to organize page resources within Hugo. You can opt-in to using page bundles in Hugo Clarity with
usePageBundlesin your site configuration --- or in a page's front matter.
阅读更多