Replies: 1 comment 2 replies
-
|
You can’t achieve what you want with tasks. I think the easiest solution would be to fix the HTML in the page as it is rendered. The template ( To solve your particular problem, there might be a specific |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using Nikola to render Jupyter Notebooks into blog posts. For most of my posts I do not want the notebook input fields in the output at all (may make this a metadata-driven task). I know I can hide them with CSS, but the data is still in the HTML and can add a lot of extra size to the page. I can easily make the modifications with python and I'm attempting to create my first plugin. The problem is that I get the following error:
How can I add a task to the end of the build process to modify what the build process renders in an earlier step? I've attempted to use the Task class as well as the LateTask class and both produce the same error.
Beta Was this translation helpful? Give feedback.
All reactions