安装

使用

  1. 工具
  • Visual Studio Code,用于博客的上传
  • 网络加速器,访问Github可能要用
  1. Hugo的一些配置

文件结构介绍看这篇文章

  1. Hugo的基本使用

    1. 启动本地预览并创建文档
    hugo server --buildDrafts --bind 0.0.0.0 --port 1313
    
    1. 创建新文章
    hugo new _posts/first.md
    
  2. 添加评论系统

    1. gisus 这个评论系统不知道为什么我安装不了,安装时报404

      我用另一个账号重新启用了它并使用

    2. gitment 这个评论系统我安装不了,我的gtihub id无法获取,奇怪。

参考

https://www.afo.im/posts/hugo/