我使用Hugo http://hugo.spf13.com/overview/introduction在我的筆記本電腦中使用html/css/js文件作爲localhost呈現文件夾。使用Hugo來呈現html文件
我有/static
文件夾中/content
HTML文件和所有的JS/CSS/IMG文件
這是config.toml
baseurl = "http://localhost"
contentdir = "content"
languageCode = "en-us"
title = "my new hugo site"
內容我沒有hugo server
並呈現/public
文件夾就好了。但所有.html文件現在變成.xml文件,我無法在瀏覽器中打開它們,如http://localhost:1313/index.html
左右。
我做錯了什麼?
不,我沒有做過的主題。我應該使用哪個主題以及命令行中的內容? – 2014-08-31 06:27:45
該文檔應該足以讓你走:http://hugo.spf13.com/themes/overview – chaseadamsio 2014-08-31 16:03:36