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

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

hugo是一個更快的網站生成工具,使用GO語言編寫,速度相對hexo快至少數倍

安裝方法按以下2個鏈接:
http://gohugo.io/tutorials/installing-on-windows/windows

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

個人安裝簡要筆記:

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 —buildDraftsflex

OK 更多使用方法本身去做者的官方文檔查看

使用後感:相對hexo,生成網頁速度更快,同樣的28篇文章、標籤和分類,hexo生成須要至少500ms以上(屢次生成取平均值),而hugo生成則穩定在120ms左右(屢次的平均值),並且波動不大。惟一缺憾的是目前hugo主題還少,也沒有中文的說明文檔網站

相關文章
相關標籤/搜索