Editing the head.js File
  • 25 Jan 2024
  • 1 Minuto para leer
  • Oscuro
    Ligero

Editing the head.js File

  • Oscuro
    Ligero

The content is currently unavailable in Spanish. You are viewing the default English version.
Resumen del artículo

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.

headerscript


¿Te ha sido útil este artículo?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, que facilita el descubrimiento de conocimiento a través de la inteligencia conversacional