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

Installation #588

Open
gavox opened this issue Feb 13, 2024 · 1 comment
Open

Installation #588

gavox opened this issue Feb 13, 2024 · 1 comment

Comments

@gavox
Copy link

gavox commented Feb 13, 2024

Hello, thanks for the work.

I've installed the theme on a repository I'm working on. Then used it on my laptop, worked flawlessly.

Then I moved to my desktop and the theme wouldnt work.

I am ran into a Warning:

WARN found no layout file for "html" for kind "

And then hugo does not generate a webpage (Page Not Found).

So, questions,

  • I'm not mistaken the theme is installed on the git repository itself, so it shouldnt need to be installed on each PC.
  • Even if I'm mistaken in the previous point, I also ran the installation instructions on the desktop without errors and it didn't solve the issue. What could be wrong?

I'm at a loss here. Any help is greatly appreciated.

@alex-shpak
Copy link
Owner

alex-shpak commented Feb 17, 2024

Hello!
depending on how you set it up, but in general you should have your git repository with site, where theme is either subfolder or submodule in that repository

so

your-repo
   content
   themes
      hugo-book (submodule or folder)

when moving between computers you need to clone it from your git together with theme files

here is an example of side with attached hugo-book theme
https://gitlab.com/alex-shpak/netlifycms

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