Hugo平台配置指南

Terwer...小于 1 分钟平台配置sy-post-publisher作品展示博客推荐安装准备工作

HUGO 官网

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

安装 HUGO

brew install hugo

准备工作

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

推荐使用 hugo-theme-next-starteropen in new window 生成博客。

博客设置参考:hugo-theme-nextopen in new window

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

我开发此功能的测试博客:https://hugo.terwer.spaceopen in new window

源码:https://github.com/terwer/hugo-blogopen in new window

HUGO 的 front-matter 规则

Front Matter | Hugo (gohugo.io)open in new window

发布配置

评论
  • 按正序
  • 按倒序
  • 按热度
Powered by Waline v2.14.9