---
title: "Editing the head.js File"
slug: "editing-the-headjs-file"
updated: 2024-01-25T12:43:50Z
published: 2024-01-25T12:43:50Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.nexudus.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Editing the head.js File

The *head.js* file lets you add one or more header tags to include in the `&lt;head&gt;` 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 `&lt;head&gt;` 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](https://cdn.document360.io/4f9a66c7-3dbb-4052-97d8-5439302e1512/Images/Documentation/headerscript.png)
