Hugo http://hugo.spf13.com/overview/introductionを使用して、html/css/js ファイルを含むフォルダーをラップトップの localhost としてレンダリングしています。
フォルダーにhtmlファイル/contentとすべてのjs/css/imgファイルがあり/staticます
これはコンテンツです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。
私は何を間違えましたか?