You are here

There are many ways to add links in the Energy.gov Content Management System.

Adding a Link with the LinkIt Dashboard

You can use the built-in LinkIt dashboard to link to Energy.gov pages. This technique will not work for outside of Energy.gov.

  1. Edit the page (also called a node) that you want to add a link to.
  2. Add a paragraph type that allows linking (such as a Rich Text paragraph.)
  3. Select the text that you want to link (if you're linking text) and click the "Link to Content" button.
    • If you're linking an image or feature, find the "Link URL" section and hit "Search."
  4. Type the name of the page you want to link to in "Search for Content."
  5. Choose the page you want to link to from the drop-down menu.
  6. Click "Insert Link."

Adding a Link with the Node ID

Alternately, you can link directly to a page using its node ID. This is convenient when there are many pages with similar names and you want to ensure that you're linking to the right page.

To find a page's node ID:

  1. Open the Web page that you want to link to in a browser.
  2. Right click anywhere on the page.
  3. Select "View Page Source." (The wording may differ based on your browser.)
  4. Search (Control + F) for node/.

The first result should be a URL that looks like http://energy.gov/node/, followed by a number.  Copy the node/NUMBER.  (For example, the EERE home page is node/28747.)

To link to a node ID:

  1. Edit the page (also called a node) that you want to add a link to.
  2. Add a paragraph type that allows linking (such as a Rich Text paragraph.)
  3. Select the text that you want to link (if you're linking text) and click the "Link to Content" button.
    • If you're linking an image or feature, find the "Link URL" section and hit "Search."
  4. Paste the Node ID in the "Link URL" field.
  5. Click "Insert Link."

Adding a Link to an External Website

For some paragraph types (such as rich text paragraphs) you can link directly to an external website by following the steps above and pasting the URL in the "Link URL" field.

However, some paragraphs—like listing paragraphs—cannot link to external websites unless you first create an external resource page for that URL. To do this:

  1. Create an external resource page.
  2. Give the page a descriptive title and summary. Remember, the title and summary will appear in the listing paragraph.
  3. Paste the external URL in the "URL" field.
  4. Save the page.

This will create an Energy.gov page that you can link to with one of the methods above.