site folder of your InvenioRDM instance.
The how-to Creating custom code and views guides you on creating a
The following guide assumes that you have read the previous section and how-to guide, as it references to it.
- Add the file to the
webpack.pyto register the new entry in the bundle and give it a name
The difference now is that instead of adding the new bundle in a specific Jinja template (e.g.
Create a new template
page.html file with its path matching the original Invenio-Theme module's file:
├── site │ ├── my_site │ │ ├── templates/semantic-ui/invenio_theme/page.html
Then, override the
You might have already defined your own
page.html to customize the global look and feel of your theme:
change that file instead of creating a new one.
This guide assumes that you did not change the variable
BASE_TEMPLATE: if that's the case, you will have
to re-define the template file set in that variable.