Neopolitan Section: scriptsrc
October 2023
The scriptsrc section is a metadata section used to load external scripts into the head of the document.
-- head
-- url: /some/path.jsWill add this just before the ending tag.
<script src="/some/path.js"></script>Other arguments can be added as well. For example, this:
-- head
-- url: /some/path.js
-- type: post
-- tag: moduleProduces this:
<script src="/some/path.js" type="module"></script>end of line