After upgrading to .15, and building the site, I get the error messages below, and my site no longer builds correctly .
I thought I understood from documentation that the problem was that BaseUrl
needed to be replaced with BaseURL
in the all the files that are inside /layouts/partials/
, but that does not seem to help.
I also tried to address this problem by cloning all the themes into my site, and that didn’t help.
I am not sure how to get started fixing this problem. Perhaps I created a new problem by replacing Url
with URL
in the documents? Should I try to reinstall clean copies of some files? Thank you!
$ hugo -d dist
ERROR: 2015/12/30 template: partials/sidebar.html:30:61: executing "partials/sidebar.html" at <.Site.BaseUrl>: BaseUrl is not a field of struct type *hugolib.SiteInfo in partials/sidebar.html
ERROR: 2015/12/30 template: partials/sidebar.html:30:61: executing "partials/sidebar.html" at <.Site.BaseUrl>: BaseUrl is not a field of struct type *hugolib.SiteInfo in partials/sidebar.html
ERROR: 2015/12/30 template: partials/sidebar.html:30:61: executing "partials/sidebar.html" at <.Site.BaseUrl>: BaseUrl is not a field of struct type *hugolib.SiteInfo in partials/sidebar.html
ERROR: 2015/12/30 template: partials/sidebar.html:30:61: executing "partials/sidebar.html" at <.Site.BaseUrl>: BaseUrl is not a field of struct type *hugolib.SiteInfo in partials/sidebar.html
ERROR: 2015/12/30 template: partials/sidebar.html:30:61: executing "partials/sidebar.html" at <.Site.BaseUrl>: BaseUrl is not a field of struct type *hugolib.SiteInfo in partials/sidebar.html
ERROR: 2015/12/30 template: partials/sidebar.html:30:61: executing "partials/sidebar.html" at <.Site.BaseUrl>: BaseUrl is not a field of struct type *hugolib.SiteInfo in partials/sidebar.html
ERROR: 2015/12/30 template: partials/sidebar.html:30:61: executing "partials/sidebar.html" at <.Site.BaseUrl>: BaseUrl is not a field of struct type *hugolib.SiteInfo in partials/sidebar.html
ERROR: 2015/12/30 template: partials/sidebar.html:30:61: executing "partials/sidebar.html" at <.Site.BaseUrl>: BaseUrl is not a field of struct type *hugolib.SiteInfo in partials/sidebar.html
0 draft content
0 future content
3 pages created
1 paginator pages created
2 categories created
in 68 ms