Hugo平台配置指南
# HUGO 官网
The world’s fastest framework for building websites | Hugo (gohugo.io) (opens new window)
# 安装 HUGO
brew install hugo
1
# 准备工作
HUGO 博客部署:这个相信大家都已经会了。不过这里还是推荐一个最佳实践。
推荐使用 hugo-theme-next-starter (opens new window) 生成博客。
博客设置参考:hugo-theme-next (opens new window)
git submodule add https://github.com/hugo-next/hugo-theme-next.git themes/hugo-theme-next
1
我开发此功能的测试博客:https://hugo.terwer.space (opens new window)
源码:https://github.com/terwer/hugo-blog (opens new window)
# HUGO 的 front-matter 规则
Front Matter | Hugo (gohugo.io) (opens new window)
# 发布配置
编辑 (opens new window)
上次更新: 2023/09/19, 13:33:19