Yukuro / hugo-theme-shell

Hugo Shell theme : Terminal-like theme with selectable color schemes.

Home Page:https://hugo-theme-shell-example.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: partial "/style.html" not found

qchn opened this issue · comments

commented

Hey guys,

I tried to create a new website from scratch described by the installation process.

Whenever I try to start the hugo server, I receive the following error:

root@proxy:/opt# hugo new site foo
Congratulations! Your new Hugo site is created in /opt/foo.

Just a few more steps and you're ready to go:

1. Download a theme into the same-named folder.
   Choose a theme from https://themes.gohugo.io/ or
   create your own with the "hugo new theme <THEMENAME>" command.
2. Perhaps you want to add some content. You can add single files
   with "hugo new <SECTIONNAME>/<FILENAME>.<FORMAT>".
3. Start the built-in live server via "hugo server".

Visit https://gohugo.io/ for quickstart guide and full documentation.
root@proxy:/opt# cd foo/
root@proxy:/opt/foo# git init
Initialized empty Git repository in /opt/foo/.git/
root@proxy:/opt/foo# git submodule add https://github.com/Yukuro/hugo-theme-shell.git themes/hugo-theme-shell
Cloning into '/opt/foo/themes/hugo-theme-shell'...
remote: Enumerating objects: 306, done.
remote: Counting objects: 100% (306/306), done.
remote: Compressing objects: 100% (162/162), done.
remote: Total 306 (delta 147), reused 256 (delta 102), pack-reused 0
Receiving objects: 100% (306/306), 1.49 MiB | 15.39 MiB/s, done.
Resolving deltas: 100% (147/147), done.
root@proxy:/opt/foo# hugo server -t hugo-theme-shell -w -D
Built in 9 ms
Error: Error building site: failed to render pages: render of "home" failed: execute of template failed: template: index.html:3:8: executing "index.html" at <partial "head.html" .>: error calling partial: "/opt/foo/themes/hugo-theme-shell/layouts/partials/head.html:6:7": execute of template failed: template: partials/head.html:6:7: executing "partials/head.html" at <partial "partials/style.html" .>: error calling partial: partial "/style.html" not found

root@proxy# hugo version
Hugo Static Site Generator v0.68.3/extended linux/amd64 BuildDate: 2020-03-25T06:15:45Z

What am I missing?

Best
qchn

commented

Sorry,

nevermind.
I updated Hugo to version v0.90.1-48907889+extended and it worked like a charm as described by the installation section in the Readme.

Thanks Yukuro, awesome theme! :-)