Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Broken build #59

Closed
rsharifnasab opened this issue Feb 3, 2024 · 3 comments
Closed

Broken build #59

rsharifnasab opened this issue Feb 3, 2024 · 3 comments

Comments

@rsharifnasab
Copy link

rsharifnasab commented Feb 3, 2024

Describe the bug
hugo is unable to build the project.

To Reproduce

hugo --minify -t hugo-theme-shell

Expected behavior
compile correctly

Logs

hugo -t hugo-theme-shell

gives this error:

ERROR render of "page" failed: "/home/roozbeh/proj/rsharifnasab.github.io/themes/hugo-theme-shell/layouts/_default/baseof.html:3:8": execute of template failed: template: _default/single.html:3:8: executing "_default/single.html" at <partial "head.html" .>: error calling partial: "/home/roozbeh/proj/rsharifnasab.github.io/themes/hugo-theme-shell/layouts/partials/head.html:6:7": execute of template failed: template: partials/head.html:6:7: executing "partials/head.html" at <partial "partials/style.html" .>: error calling partial: "/home/roozbeh/proj/rsharifnasab.github.io/themes/hugo-theme-shell/layouts/partials/style.html:32:25": execute of template failed: template: partials/style.html:32:25: executing "partials/style.html" at <$themeData.themes>: can't evaluate field themes in type []interface {}

and

hugo -D

gives this:

Start building sites … 
hugo v0.122.0+extended linux/amd64 BuildDate=unknown

WARN  found no layout file for "html" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN  found no layout file for "html" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN  found no layout file for "html" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.

                   | EN  
-------------------+-----
  Pages            |  3  
  Paginator pages  |  0  
  Non-page files   |  0  
  Static files     |  2  
  Processed images |  0  
  Aliases          |  0  
  Sitemaps         |  1  
  Cleaned          |  0  

Total in 9 ms

Additional context
It seems that when i download the the theme, it does not contains the #55 change, and therefore it's broken.

@Yukuro
Copy link
Owner

Yukuro commented Feb 3, 2024

I could not reproduce the problem in my environment.
Could you please attach the repository where the problem is occurring?

@cmahnke
Copy link

cmahnke commented Feb 8, 2024

@rsharifnasab If you're using the theme as a Git submodule, maybe you need to update the submodule?

@rsharifnasab
Copy link
Author

That was something on my side. Sorry for the inconvenience.

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

No branches or pull requests

3 participants