-
Notifications
You must be signed in to change notification settings - Fork 887
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
print does no longer work #451
Comments
I can't reproduce the issue atm; i'm probably missing a step - Here's what I did (per the docs)
I then changed
Print works for me with that setup; can you tell me if you're doing something different? |
In addition, I need to set the baseURL from / to my github repo as it is not run on SITENAME.github.io but SITENAME.github.io/reponame |
Also I do use the template copy into github, and than do the recursive checkout on depth 1 as documented in the user manual. |
Here is my script following your setup description:
the output I get is
|
I just confirmed the following works. I am not sure why it did not work earlier today. carefull erases docsy-example to start newhugo version |
Thanks for sharing these commands @laszewsk, it helped me as well. |
Thanks @laszewsk! I was getting this error as well. I think my issue was that I did a plain |
On ubuntu 20.04 you also need to update nodejs, i used v 16.x as v 10.x did not work for me cd ~ the i did in the hugo dir npm install -D autoprefixer |
I just created a new docsy site from the template.
I switched it to the main branch
I changed the toml file to include the main branch
However I get now the error on the vanilla templete with no modifications.
When I however out comment the print in the toml file it works
Here the error
hugo serve
Building sites … ERROR 2021/02/16 15:46:44 render of "section" failed: execute of template failed: template: blog/section.print.html:2:3: executing "main" at <partial "print/render" .>: error calling partial: execute of template failed: template: partials/print/render.html:10:4: executing "recurse-toc" at <partial "print/toc-li.html" (dict "sid" $sid "Page" .)>: error calling partial: ".... /themes/docsy/layouts/partials/print/toc-li.html:3:5": execute of template failed: template: partials/print/toc-li.html:3:5: executing "partials/print/toc-li.html" at <partial $tpl .>: error calling partial: partial "/print/toc-li-blog.html" not found
The text was updated successfully, but these errors were encountered: