Hugo平台配置指南

HUGO 官网

The world’s fastest framework for building websites | Hugo (gohugo.io)

安装 HUGO

brew install hugo

准备工作

HUGO 博客部署:这个相信大家都已经会了。不过这里还是推荐一个最佳实践。

推荐使用 hugo-theme-next-starter 生成博客。

博客设置参考: hugo-theme-next

git submodule add https://github.com/hugo-next/hugo-theme-next.git themes/hugo-theme-next

我开发此功能的测试博客: https://hugo.terwer.space

源码: https://github.com/terwer/hugo-blog

HUGO 的 front-matter 规则

Front Matter | Hugo (gohugo.io)

发布配置