-
For example, I want to add the following code to my Mkdocs site
Can I set Question 2: Is the HTML naming under overrides strictly restricted, or can it be customized? I've read these |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I seem to have made some new discoveries
This seems to have achieved what I want, but I don't know if this modification is appropriate? |
Beta Was this translation helpful? Give feedback.
I refer you to the documentation. It does suggest that you can add more files but, of course, these would need to be included from your versions of the templates and partials to have an effect.
Re adding custom HTML, remember that it needs to be inside the
html
tag, which is inbase.html
. So, just adding more HTML code tomain.html
is not going to work unless you are overriding a block. If you want to learn how all of this works, have a look at the Jinja documentation.