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

來源:互聯網
上載者:User
這是一個建立於 的文章,其中的資訊可能已經有所發展或是發生改變。

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:\hugo到系統環境變量path的末尾
hugo new mysite
cd mysite
git clone --recursive https://github.com/spf13/hugoThemes themes
hugo new about.md
(用MarkdownPad2寫about.md)
hugo new post/first.md
(用MarkdownPad2寫first.md)

hugo server —theme=hyde —buildDrafts

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

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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.