【发布时间】:2014-08-29 22:39:45
【问题描述】:
我正在使用 Hugo http://hugo.spf13.com/overview/introduction 在我的笔记本电脑中将包含 html/css/js 文件的文件夹呈现为本地主机。
/content 中有 html 文件,/static 文件夹中有所有 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 这样的浏览器中打开它们。
我做错了什么?
【问题讨论】:
标签: html go static-site static-pages hugo