-
Notifications
You must be signed in to change notification settings - Fork 205
Closed
Description
We (at obspy/obspy) are hosting our documentation online and would like to switch to the bootstrap theme. There are two important optimizations lacking though. First is loading CSS and JS from a CDN. Second is deferring JS loading to the end of the document.
My first attempt at achieving this was to extend layout.html, and overwrite css_files and scripts_files with CDN links instead. Unfortunately, this does not work because jinja2 executes statements outside blocks in reverse. So it seems the only way to get this to happen is to have the bootstrap theme support it natively.
Metadata
Metadata
Assignees
Labels
No labels