首页 > Web开发 > 详细

Hugo网站生成-A fast and flexible static site generator

时间:2015-06-02 20:20:27      阅读:200      评论:0      收藏:0      [点我收藏+]

Hugo-A fast and flexible static site generator built in GoLang

hugo是一个更快的网站生成工具,使用GO语言编写,速度相对hexo快至少数倍

安装方法按如下2个连接:
http://gohugo.io/tutorials/installing-on-windows/

http://gohugo.io/overview/quickstart/

我的安装简要笔记:

hugo
e:\hugo\
e:\hugopath
hugo new mysite
cd mysite
git clone --recursive https://github.com/spf13/hugoThemes themes
hugo new about.md
(MarkdownPad2about.md)
hugo new post/first.md
(MarkdownPad2first.md)

hugo server —theme=hyde —buildDrafts

OK 更多使用方法自己去作者的官方文档查看

使用后感:相对hexo,生成网页速度更快,一样的28篇文章、标签和分类,hexo生成需要至少500ms以上(多次生成取平均值),而hugo生成则稳定在120ms左右(多次的平均值),而且波动不大。唯一缺憾的是目前hugo主题还少,也没有中文的说明文档

Hugo网站生成-A fast and flexible static site generator

原文:http://my.oschina.net/tsl/blog/424002

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!