Editing the head.js File
- 25 Jan 2024
- 1 Minute to read
- DarkLight
Editing the head.js File
- Updated on 25 Jan 2024
- 1 Minute to read
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
The head.js file lets you add one or more header tags to include in the <head>
of every page on the Members Portal.
The type attribute can be "script", "meta" or "link". All other properties in each object in the array will be converted into attributes of the <head>
tag.
This file must always use a single JavaScript array.
[
{
"type": "script",
"src": "https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.27.0/moment.min.js",
},
{
"type": "meta",
"name": "nx-header",
"content": "dummy",
}
]
This will result in two header tags being added to every page of your Members Portal.
Was this article helpful?