Hugoにて、hugo new posts/my-first-post.mdコマンドをコマンドプロンプト上で実行したところ、以下のエラーが出ましたが、原因が分かりません。
エラー内容
Error: failed to read module config for "ananke" in "C:\Hugo\Sites\quickstart\themes\ananke\theme.toml": unmarshal failed: Near line 11 (last key parsed 'min_version'): Invalid float value: "0.30.2"
エラーが出ているtheme.tomlの内容は以下のとおりです。11行目の「min_version = 0.30.2」でエラーが出ていますが、このファイルは自動生成のもので、私は一切変更を加えていません。
# theme.toml template for a Hugo theme # See https://github.com/spf13/hugoThemes#themetoml for an example name = "Ananke Gohugo Theme" license = "MIT" licenselink = "https://github.com/budparr/gohugo-theme-ananke/blob/master/LICENSE.md" description = "A Base theme for building full featured Hugo sites" homepage = "https://github.com/budparr/gohugo-theme-ananke" tags = ["website", "starter", "responsive", "Disqus", "blog", "Tachyons", "Multilingual"] features = ["posts", "shortcodes", "related content", "comments"] min_version = 0.30.2 [author] name = "Bud Parr" homepage = "https://github.com/budparr"
お手数ですが、ご教授のほど、よろしくお願いいたします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/08/04 07:05