miguelsimoni / hugo-initio

Hugo Theme port of Initio bootstrap template by GetTemplate
https://themes.gohugo.io/hugo-initio/
MIT License
90 stars 119 forks source link

Unnable to get the theme working #43

Closed marcandreuf closed 4 months ago

marcandreuf commented 3 years ago
➜  gitlab hugo version
Hugo Static Site Generator v0.68.3/extended linux/amd64 BuildDate: 2020-03-25T06:15:45Z

Steps to reproduce: Following the main Hugo documentation, I created a new site and added the theme with sample content.

  1. Follow Quick start steps
  2. Use Hugo-initio theme
  3. Expected: sample content post loaded with theme look and feel.
  4. Actual:

Error message for each command.

➜  draft-web git:(master) ✗ hugo server         
Error: Error building site: "/home/..../draft-web/themes/hugo-initio/layouts/index.html:13:1": parse failed: template: index.html:13: unclosed action
➜  draft-web git:(master) ✗ hugo server -t ../..
Building sites … WARN 2021/08/20 12:21:25 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 2021/08/20 12:21:25 found no layout file for "HTML" for kind "taxonomyTerm": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2021/08/20 12:21:25 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 2021/08/20 12:21:25 found no layout file for "HTML" for kind "taxonomyTerm": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2021/08/20 12:21:25 found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.

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

Built in 18 ms
Watching for changes in /home/..../draft-web/{archetypes,content,data,layouts,static}
Watching for config changes in /home/.../draft-web/config.toml
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop

Result: The website is just a blank page.

Rindrics commented 3 years ago

@marcandreuf I got the same error as yours, but managed to resolve it by upgrading hugo.

I got the error with hugo v0.76.5, but now OK with v0.87.0

marcandreuf commented 2 years ago

Thanks Rindrics, I will try again later. :-)

mparker17 commented 1 year ago

@marcandreuf did you ever get Hugo working? Can I close this issue?

miguelsimoni commented 4 months ago

I'm closing the issue since no activity has registered in a while. Thanks for the contribution!