Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility issues with HUGO_VERSION v0.111.3+extended #127

Open
mansoorbarri opened this issue Dec 29, 2024 · 2 comments
Open

Compatibility issues with HUGO_VERSION v0.111.3+extended #127

mansoorbarri opened this issue Dec 29, 2024 · 2 comments

Comments

@mansoorbarri
Copy link

I tried using this theme but ended up getting this error just after setting the theme in the config.toml

❯ hugo server
WARN 2024/12/29 00:50:49 Module "m10c" is not compatible with this Hugo version; run "hugo mod graph" for more information.
Start building sites …
hugo v0.111.3+extended linux/amd64 BuildDate=2023-03-16T08:41:31Z VendorInfo=debian:0.111.3-1
ERROR 2024/12/29 00:50:49 render of "page" failed: "/home/anar/Music/anar/gh/os/m10c/themes/m10c/layouts/_default/baseof.html:11:97": execute of template failed: template: _default/single.html:11:97: executing "_default/single.html" at <css>: can't evaluate field Sass in type interface {}
ERROR 2024/12/29 00:50:49 render of "page" failed: "/home/anar/Music/anar/gh/os/m10c/themes/m10c/layouts/_default/baseof.html:11:97": execute of template failed: template: _default/single.html:11:97: executing "_default/single.html" at <css>: can't evaluate field Sass in type interface {}
ERROR 2024/12/29 00:50:49 render of "page" failed: "/home/anar/Music/anar/gh/os/m10c/themes/m10c/layouts/_default/baseof.html:11:97": execute of template failed: template: _default/single.html:11:97: executing "_default/single.html" at <css>: can't evaluate field Sass in type interface {}
ERROR 2024/12/29 00:50:49 render of "page" failed: "/home/anar/Music/anar/gh/os/m10c/themes/m10c/layouts/_default/baseof.html:11:97": execute of template failed: template: _default/single.html:11:97: executing "_default/single.html" at <css>: can't evaluate field Sass in type interface {}
Error: Error building site: failed to render pages: render of "page" failed: "/home/anar/Music/anar/gh/os/m10c/themes/m10c/layouts/_default/baseof.html:11:97": execute of template failed: template: _default/single.html:11:97: executing "_default/single.html" at <css>: can't evaluate field Sass in type interface {}
Built in 82 ms

config.toml till this error:

baseURL = 'http://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
theme = "m10c"
@pratapaditya1997
Copy link

As per the README, you should use hugo-theme-m10c in the theme field and not m10c.

@mansoorbarri
Copy link
Author

mansoorbarri commented Jan 12, 2025

the theme field should have the name of the directory with the theme files. in my case, its m10c so this should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants