UtkarshVerma / hugo-dream-plus

:rainbow: An upgraded version of the Hugo "Dream" theme with tons of new features.
http://dream-plus-posts.netlify.com
MIT License
68 stars 66 forks source link

After installing and re-installing. Just can't get it work :( #64

Closed venturaEffect closed 5 years ago

venturaEffect commented 5 years ago

First, congrats for such an amazing theme!

Describe the bug

It doesn't show on the localhost. Just blank. Have installed several times. Have also followed the video tutorials and the documentation of instaling Hugo what it seems fine.

Have wrote on the config.file the theme = "hugo-dream-plus" Have changed the baseUrl in diferent ways. But it doesn't look in the tutorials as relevant so I left it like by default. Have moved posts into quickstart/content

It seems there is a deprecated error .Hugo what it seems to come from the theme files (if I'm not wrong)

To Reproduce
here the code:

root@user:/usr/local/bin/quickstart# hugo server
Building sites … WARN 2019/05/20 20:56:57 Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function.
ERROR 2019/05/20 20:56:57 render of "home" failed: execute of template failed: template: index.html:11:5: executing "index.html" at <partial "background.html" .>: error calling partial: "/usr/local/bin/quickstart/themes/dream-plus/layouts/partials/background.html:23:11": execute of template failed: template: partials/background.html:23:11: executing "partials/background.html" at <len $bgList>: error calling len: len of untyped nil
ERROR 2019/05/20 20:56:57 render of "taxonomyTerm" failed: execute of template failed: template: taxonomy/terms.html:11:5: executing "taxonomy/terms.html" at <partial "background.html" .>: error calling partial: "/usr/local/bin/quickstart/themes/dream-plus/layouts/partials/background.html:23:11": execute of template failed: template: partials/background.html:23:11: executing "partials/background.html" at <len $bgList>: error calling len: len of untyped nil
ERROR 2019/05/20 20:56:57 render of "taxonomyTerm" failed: execute of template failed: template: taxonomy/terms.html:11:5: executing "taxonomy/terms.html" at <partial "background.html" .>: error calling partial: "/usr/local/bin/quickstart/themes/dream-plus/layouts/partials/background.html:23:11": execute of template failed: template: partials/background.html:23:11: executing "partials/background.html" at <len $bgList>: error calling len: len of untyped nil
ERROR 2019/05/20 20:56:57 render of "page" failed: execute of template failed: template: posts/single.html:11:5: executing "posts/single.html" at <partial "background.html" .>: error calling partial: "/usr/local/bin/quickstart/themes/dream-plus/layouts/partials/background.html:23:11": execute of template failed: template: partials/background.html:23:11: executing "partials/background.html" at <len $bgList>: error calling len: len of untyped nil
Total in 27 ms
Error: Error building site: failed to render pages: render of "section" failed: execute of template failed: template: posts/section.html:11:5: executing "posts/section.html" at <partial "background.html" .>: error calling partial: "/usr/local/bin/quickstart/themes/dream-plus/layouts/partials/background.html:23:11": execute of template failed: template: partials/background.html:23:11: executing "partials/background.html" at <len $bgList>: error calling len: len of untyped nil
root@user:/usr/local/bin/quickstart# hugo server
Error: "/usr/local/bin/quickstart/themes/hugo-dream-plus/layouts/partials/header.html:12:1": parse failed: template: partials/header.html:12: malformed character constant: 'popTagsCategories'

Expected behavior
Just want to see it on localhost:1313

Additional context
I'm using Linux and followed the Debian installing.

Your project
If possible, give the link to your Hugo site project repository.

Hugo version

Hugo Static Site Generator v0.55.6-A5D4C82D linux/amd64 BuildDate: 2019-05-18T07:56:30Z

Any help would be really appreciated.

Love this template!

UtkarshVerma commented 5 years ago

@zaesarius Show me how your config file's set up. Does it appear similar to the one shown in the exampleSite? Also, are you able to run the example site?

UtkarshVerma commented 5 years ago

Closing due to inactivity