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

Doesnt work with latest hugo #157

Open
kevinduffey opened this issue Feb 5, 2024 · 1 comment
Open

Doesnt work with latest hugo #157

kevinduffey opened this issue Feb 5, 2024 · 1 comment

Comments

@kevinduffey
Copy link

Seems there is no config file. I have Hugo 0.122 and Hugo Serve fails with some config issue. There is no config.toml file and I am not sure being new to Hugo how to update this template to work with latest Hugo.

@santiagon610
Copy link
Contributor

A clone from the master branch on hugo v0.123.4-21a41003c4633b142ac565c52da22924dc30637a+extended seems to work without issue for me.

There appears to be a config.toml file in the exampleSite directory.

What seems to work best for me would be something like this:

  • Create a Git repository
  • mkdir themes
  • git submodule add https://github.com/zhaohuabing/hugo-theme-cleanwhite.git themes/hugo-theme-cleanwhite
  • Copy all of the content from the themes/hugo-theme-cleanwhite/exampleSite directory to the root of the repository.
  • hugo server or hugo server -D

That usually works for me. Hope this helps!

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