-
-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[The theme docDock does not work with blogdown] #340
Comments
You need to remove But the theme is still not compatible with the latest version of Hugo, which has been reported at vjeantet/hugo-theme-docdock#166. I was able to reproduce the problem: $ git clone https://github.com/vjeantet/hugo-theme-docdock.git
Cloning into 'hugo-theme-docdock'...
$ cd hugo-theme-docdock/exampleSite/
$ hugo
Building sites … ERROR 2018/10/31 11:02:26 [en] page "/Users/foo/Downloads/hugo-theme-docdock/exampleSite/content/getting-start/_index.md": render of "section" failed: execute of template failed: template: _default/list.html:13:9: executing "_default/list.html" at <partial (printf "%s/...>: error calling partial: "/Users/foo/Downloads/hugo-theme-docdock/layouts/partials/flex/body-beforecontent.html:2:10": execute of template failed: template: partials/flex/body-beforecontent.html:3:7: executing "partials/flex/body-beforecontent.html" at <partial "header.html...>: error calling partial: "/Users/foo/Downloads/hugo-theme-docdock/layouts/partials/header.html:2:10": execute of template failed: template: partials/header.html:2:10: executing "partials/header.html" at <where .Site.Pages "S...>: error calling where: Source isn't a field of struct type *hugolib.Page
ERROR 2018/10/31 11:02:26 [en] page "/Users/foo/Downloads/hugo-theme-docdock/exampleSite/content/content-organisation/logo.md": render of "page" failed: execute of template failed: template: _default/single.html:13:9: executing "_default/single.html" at <partial (printf "%s/...>: error calling partial: "/Users/foo/Downloads/hugo-theme-docdock/layouts/partials/flex/body-beforecontent.html:2:10": execute of template failed: template: partials/flex/body-beforecontent.html:3:7: executing "partials/flex/body-beforecontent.html" at <partial "header.html...>: error calling partial: "/Users/foo/Downloads/hugo-theme-docdock/layouts/partials/header.html:2:10": execute of template failed: template: partials/header.html:2:10: executing "partials/header.html" at <where .Site.Pages "S...>: error calling where: Source isn't a field of struct type *hugolib.Page
ERROR 2018/10/31 11:02:26 [en] page "/Users/foo/Downloads/hugo-theme-docdock/exampleSite/content/getting-start/installation.md": render of "page" failed: execute of template failed: template: _default/single.html:13:9: executing "_default/single.html" at <partial (printf "%s/...>: error calling partial: "/Users/foo/Downloads/hugo-theme-docdock/layouts/partials/flex/body-beforecontent.html:2:10": execute of template failed: template: partials/flex/body-beforecontent.html:3:7: executing "partials/flex/body-beforecontent.html" at <partial "header.html...>: error calling partial: "/Users/foo/Downloads/hugo-theme-docdock/layouts/partials/header.html:2:10": execute of template failed: template: partials/header.html:2:10: executing "partials/header.html" at <where .Site.Pages "S...>: error calling where: Source isn't a field of struct type *hugolib.Page
ERROR 2018/10/31 11:02:26 [en] page "/Users/foo/Downloads/hugo-theme-docdock/exampleSite/content/getting-start/configuration.md": render of "page" failed: execute of template failed: template: _default/single.html:13:9: executing "_default/single.html" at <partial (printf "%s/...>: error calling partial: "/Users/foo/Downloads/hugo-theme-docdock/layouts/partials/flex/body-beforecontent.html:2:10": execute of template failed: template: partials/flex/body-beforecontent.html:3:7: executing "partials/flex/body-beforecontent.html" at <partial "header.html...>: error calling partial: "/Users/foo/Downloads/hugo-theme-docdock/layouts/partials/header.html:2:10": execute of template failed: template: partials/header.html:2:10: executing "partials/header.html" at <where .Site.Pages "S...>: error calling where: Source isn't a field of struct type *hugolib.Page
Total in 124 ms
Error: Error building site: failed to render pages: [en] page "/Users/foo/Downloads/hugo-theme-docdock/exampleSite/content/content-organisation/extramenu.md": render of "page" failed: execute of template failed: template: _default/single.html:13:9: executing "_default/single.html" at <partial (printf "%s/...>: error calling partial: "/Users/foo/Downloads/hugo-theme-docdock/layouts/partials/flex/body-beforecontent.html:2:10": execute of template failed: template: partials/flex/body-beforecontent.html:3:7: executing "partials/flex/body-beforecontent.html" at <partial "header.html...>: error calling partial: "/Users/foo/Downloads/hugo-theme-docdock/layouts/partials/header.html:2:10": execute of template failed: template: partials/header.html:2:10: executing "partials/header.html" at <where .Site.Pages "S...>: error calling where: Source isn't a field of struct type *hugolib.Page |
Hi Yihui and Team
For my use case I'm trying to create a new site with the Docdock theme:
After this code:
The text was updated successfully, but these errors were encountered: