Config
Used to add scripts to every page of the site e.g., analytics, site search JS, and add default content for meta tags. Add to child section under Home called 'Config'.
Content Type Details
- ID: 250
- Name: Config
- Minimum user level: Contributor
- Compatible with page layouts: N/A
Guidance
- Content Location: a content item is added to the Home » Config section. To ensure this works correctly, the section name 'Config' must match the case exactly, and the "Show in navigation" element for that section must be unticked.
- Image Selection: Select an image from the media library to be used as the default image for social meta data. The recommended minimum dimensions are 1200 x 675 pixels. You can upload an image of any size, and it will be automatically resized to fit. If the image's shape (aspect ratio) differs from the required 1200 x 675, it will be resized and cropped to fit 1200 x 630 for the
og:imageand 1200 x 675 for thetwitter:image. Learn more about how automatic resizing and cropping works.
Content Type Elements Details
| Name | Description | Size | Type | Required | Conditionally Shown |
|---|---|---|---|---|---|
| Name | The Name Element | 80 Characters | Plain Text | Yes | No |
| Head Code | Add code to output in the <head> on every page e.g., Google Analytics code | 5000 Characters | Plain Text | Yes | No |
| Body Start Code | Add code to output directly after the opening <body> tag on every page e.g., Google Tag Manager <noscript> tag | 5000 Characters | Plain Text | Yes | No |
| Footer Code | Add code to output after footer at the end of every page e.g., additional 3rd party JS code | 5000 Characters | Plain Text | No | No |
| Image | Select an image from the media library for a default image to be used for social meta data. Minimum recommended size: 1200 x 675px | N/A | Media | Yes | No |
| Twitter Handle | Add handle for Twitter account related to site to be used in social meta data e.g., @HOUCityCollege | 80 Characters | Plain Text | Yes | No |
| Site Name | Add name of the site, this is used in the <title>, og:site_name and author meta tags | 80 Characters | Plain Text | Yes | No |