Custom JavaScript

Add custom JavaScript to individual pages.

javascript customization api

Custom JavaScript

Add page-specific JavaScript using front-matter.

Front Mattercopy_all
ext_js:
  - custom
  - another-file

Files go in src/assets/ext/js/. Add them without the .js extension.


XMLHttpRequest


Fetch API