项目作者: imyhui

项目描述 :
Go 语言实现的静态博客生成器
高级语言: CSS
项目地址: git://github.com/imyhui/go-static-blog.git
创建时间: 2019-09-13T02:52:49Z
项目社区:https://github.com/imyhui/go-static-blog

开源协议:MIT License

关键词:
golang markdown static-site-generator

下载


go-static-blog

Go 语言实现的静态博客生成器

使用

  1. $ git clone https://github.com/imyhui/go-static-blog
  2. $ cd go-static-blog
  3. $ go build
  1. $ ./go-static-blog -h
  2. go-static-blog version: 1.0.0
  3. Usage: go-static-blog [-g generate] [-s server]
  4. Options:
  5. -g clean and generate
  6. -s server on 8080
  1. $ ./go-static-blog -g -s

访问 http://localhost:8080

界面

主页

文章页面

标签云

详细实现过程见这里

后续优化

    • [x] 优化解析文章逻辑

      • 添加标签
    • 优化页面,添加样式
  • 添加页面
    • 归档页
      • 标签云
    • 关于页
  • 添加命令行工具,如生成文章,部署等
  • 添加持续集成服务,如Travis CI) 或者 GitHub Actions