Custom HTML
- Applies to:
- All MindTouch Versions
- Role required:
- Admin
To modify custom HTML on your Expert site, you need Administrator privileges.
The Custom HTML feature in the Control Panel ensures that your custom scripts work in all views. From the user navigation bar at the top of the site, go to Site tools > Control Panel > Branding > Custom HTML.
Custom HTML does not have a Revision History, changes are final and cannot be reverted
Page HTML Head and Page HTML Tail
There are two text boxes available for Custom HTML: Page HTML Head and Page HTML Tail. The only difference between the two is where the script is placed in your site's HTML.
- Page HTML Head will appear before the closing
</head>
tag at the top of your HTML document. This section is meant for scripts that need to load before the content of the page loads; such as the Expert Web Font JavaScript API that loads third party fonts. It can also be used to link to additional CSS files or add custom<meta>
tags. Any valid HTML that can go inside the<head>
tags will work. Remember that each additional script added here will block the loading of content on the page and should only be added if absolutely necessary. - Page HTML Tail will appear after the closing
</body>
tag at the bottom of your HTML document. This section is meant for scripts, such as web analytic tracking codes, that should not load until the rest of the content has. If the script is not necessary for the rendering of the page, then it should be in this section.