Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • H hugo-solstice-theme
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 2
    • Merge requests 2
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Eclipse FoundationEclipse Foundation
  • IT
  • Webdev
  • hugo-solstice-theme
  • Issues
  • #134
Closed
Open
Issue created May 28, 2020 by Christopher Guindon@cguindonOwner

Example site does not render with Hugohugo v0.71.1

How to repoduce:

  1. Upgrade to Hugo v0.71.1
  2. hugo server --source=exampleSite --themesDir="../../"

Output:

Building sites … WARNING: calling IsSet with unsupported type "string" (string) will always return false.

ERROR 2020/05/28 13:00:20 render of "page" failed: execute of template failed: template: _default/single.html:21:27: executing "header" at <partial "header.html" .>: error calling partial: execute of template failed: template: partials/header.html:15:5: executing "partials/header.html" at <partial "navbar.html" .>: error calling partial: execute of template failed: template: partials/navbar.html:78:13: executing "partials/navbar.html" at <partial "nav_toggle.html" .>: error calling partial: "/Users/chrisguindon/localhugo/hugo-solstice-theme/layouts/partials/nav_toggle.html:14:8": execute of template failed: template: partials/nav_toggle.html:14:8: executing "partials/nav_toggle.html" at <(ne .Site.Menus.main nil) and (ne (first .Site.Menus.main) nil)>: can't give argument to non-function ne .Site.Menus.main nil
ERROR 2020/05/28 13:00:20 render of "page" failed: execute of template failed: template: _default/single.html:21:27: executing "header" at <partial "header.html" .>: error calling partial: execute of template failed: template: partials/header.html:15:5: executing "partials/header.html" at <partial "navbar.html" .>: error calling partial: execute of template failed: template: partials/navbar.html:78:13: executing "partials/navbar.html" at <partial "nav_toggle.html" .>: error calling partial: "/Users/chrisguindon/localhugo/hugo-solstice-theme/layouts/partials/nav_toggle.html:14:8": execute of template failed: template: partials/nav_toggle.html:14:8: executing "partials/nav_toggle.html" at <(ne .Site.Menus.main nil) and (ne (first .Site.Menus.main) nil)>: can't give argument to non-function ne .Site.Menus.main nil
ERROR 2020/05/28 13:00:20 render of "page" failed: execute of template failed: template: _default/single.html:21:27: executing "header" at <partial "header.html" .>: error calling partial: execute of template failed: template: partials/header.html:15:5: executing "partials/header.html" at <partial "navbar.html" .>: error calling partial: execute of template failed: template: partials/navbar.html:78:13: executing "partials/navbar.html" at <partial "nav_toggle.html" .>: error calling partial: "/Users/chrisguindon/localhugo/hugo-solstice-theme/layouts/partials/nav_toggle.html:14:8": execute of template failed: template: partials/nav_toggle.html:14:8: executing "partials/nav_toggle.html" at <(ne .Site.Menus.main nil) and (ne (first .Site.Menus.main) nil)>: can't give argument to non-function ne .Site.Menus.main nil
ERROR 2020/05/28 13:00:20 render of "page" failed: execute of template failed: template: _default/single.html:21:27: executing "header" at <partial "header.html" .>: error calling partial: execute of template failed: template: partials/header.html:15:5: executing "partials/header.html" at <partial "navbar.html" .>: error calling partial: execute of template failed: template: partials/navbar.html:78:13: executing "partials/navbar.html" at <partial "nav_toggle.html" .>: error calling partial: "/Users/chrisguindon/localhugo/hugo-solstice-theme/layouts/partials/nav_toggle.html:14:8": execute of template failed: template: partials/nav_toggle.html:14:8: executing "partials/nav_toggle.html" at <(ne .Site.Menus.main nil) and (ne (first .Site.Menus.main) nil)>: can't give argument to non-function ne .Site.Menus.main nil
Built in 243 ms
Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/single.html:21:27: executing "header" at <partial "header.html" .>: error calling partial: execute of template failed: template: partials/header.html:15:5: executing "partials/header.html" at <partial "navbar.html" .>: error calling partial: execute of template failed: template: partials/navbar.html:78:13: executing "partials/navbar.html" at <partial "nav_toggle.html" .>: error calling partial: "/Users/chrisguindon/localhugo/hugo-solstice-theme/layouts/partials/nav_toggle.html:14:8": execute of template failed: template: partials/nav_toggle.html:14:8: executing "partials/nav_toggle.html" at <(ne .Site.Menus.main nil) and (ne (first .Site.Menus.main) nil)>: can't give argument to non-function ne .Site.Menus.main nil
Assignee
Assign to
Time tracking

Copyright © Eclipse Foundation, Inc. All Rights Reserved.     Privacy Policy | Terms of Use | Copyright Agent