Skip to content

Conversation

@EiffL
Copy link
Member

@EiffL EiffL commented Apr 6, 2023

This small PR fixes the import of the mathjax scripts.

This theme has a special feature which allows us to specify which scripts to loads as part of the layout files.

All we need to do is add this in layouts/base.html:

common-ext-js:
  - href: "https://polyfill.io/v3/polyfill.min.js?features=es6"
  - href: "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"

and these scripts will be loaded in all pages which inherit from the base layout

@EiffL EiffL requested a review from tloredo April 6, 2023 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant