hugo-initio
hugo-initio copied to clipboard
Unnable to get the theme working
➜ 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.
- Follow Quick start steps
- Use Hugo-initio theme
- Expected: sample content post loaded with theme look and feel.
- 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 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
Thanks Rindrics, I will try again later. :-)
@marcandreuf did you ever get Hugo working? Can I close this issue?
I'm closing the issue since no activity has registered in a while. Thanks for the contribution!