hugo-initio icon indicating copy to clipboard operation
hugo-initio copied to clipboard

Unnable to get the theme working

Open marcandreuf opened this issue 3 years ago • 3 comments

➜  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.

marcandreuf avatar Aug 20 '21 10:08 marcandreuf

@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

Rindrics avatar Aug 27 '21 00:08 Rindrics

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

marcandreuf avatar Nov 03 '21 06:11 marcandreuf

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

mparker17 avatar Sep 20 '23 23:09 mparker17

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

miguelsimoni avatar Jun 08 '24 02:06 miguelsimoni