OS: Fedora Linux 40 (Workstation Edition) x86_64
hugo v0.121.2+extended linux/amd64 BuildDate=2024-02-07T00:00:00+00:00 VendorInfo=Fedora:0.121.2-1.fc40
commands:
sudo dnf install hugo
hugo new site quickstart
git init
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
echo "theme = 'ananke'" >> hugo.toml
hugo server
output:
WARN Module "ananke" is not compatible with this Hugo version; run "hugo mod graph" for more information.
Watching for changes in /home/wencan/Projects/quickstart/{archetypes,assets,content,data,i18n,layouts,static,themes}
Watching for config changes in /home/wencan/Projects/quickstart/hugo.toml, /home/wencan/Projects/quickstart/themes/ananke/config/_default
Start building sites …
hugo v0.121.2+extended linux/amd64 BuildDate=2024-02-07T00:00:00+00:00 VendorInfo=Fedora:0.121.2-1.fc40
ERROR render of "taxonomy" failed: "/home/wencan/Projects/quickstart/themes/ananke/layouts/_default/baseof.html:29:7": execute of template failed: template: _default/terms.html:29:7: executing "_default/terms.html" at <partial "site-style.html" .>: error calling partial: "/home/wencan/Projects/quickstart/themes/ananke/layouts/partials/site-style.html:1:8": execute of template failed: template: partials/site-style.html:1:8: executing "partials/site-style.html" at <partialCached "func/style/GetMainCSS" "style/GetMainCSS">: error calling partialCached: "/home/wencan/Projects/quickstart/themes/ananke/layouts/partials/func/style/GetMainCSS.html:69:23": execute of template failed: template: partials/func/style/GetMainCSS.html:69:23: executing "partials/func/style/GetMainCSS.html" at <css>: can't evaluate field Sass in type interface {}
ERROR render of "home" failed: "/home/wencan/Projects/quickstart/themes/ananke/layouts/_default/baseof.html:29:7": execute of template failed: template: index.html:29:7: executing "index.html" at <partial "site-style.html" .>: error calling partial: "/home/wencan/Projects/quickstart/themes/ananke/layouts/partials/site-style.html:1:8": execute of template failed: template: partials/site-style.html:1:8: executing "partials/site-style.html" at <partialCached "func/style/GetMainCSS" "style/GetMainCSS">: error calling partialCached: "/home/wencan/Projects/quickstart/themes/ananke/layouts/partials/func/style/GetMainCSS.html:69:23": execute of template failed: template: partials/func/style/GetMainCSS.html:69:23: executing "partials/func/style/GetMainCSS.html" at <css>: can't evaluate field Sass in type interface {}
Built in 8 ms
Error: error building site: render: failed to render pages: render of "taxonomy" failed: "/home/wencan/Projects/quickstart/themes/ananke/layouts/_default/baseof.html:29:7": execute of template failed: template: _default/terms.html:29:7: executing "_default/terms.html" at <partial "site-style.html" .>: error calling partial: "/home/wencan/Projects/quickstart/themes/ananke/layouts/partials/site-style.html:1:8": execute of template failed: template: partials/site-style.html:1:8: executing "partials/site-style.html" at <partialCached "func/style/GetMainCSS" "style/GetMainCSS">: error calling partialCached: "/home/wencan/Projects/quickstart/themes/ananke/layouts/partials/func/style/GetMainCSS.html:69:23": execute of template failed: template: partials/func/style/GetMainCSS.html:69:23: executing "partials/func/style/GetMainCSS.html" at <css>: can't evaluate field Sass in type interface {}
execute hugo mod graph
, output:
WARN Module "ananke" is not compatible with this Hugo version; run "hugo mod graph" for more information.
project ananke