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:image and 1200 x 675 for the twitter:image. Learn more about how automatic resizing and cropping works.

Content Type Elements Details

NameDescriptionSizeTypeRequiredConditionally Shown
NameThe Name Element80 CharactersPlain TextYesNo
Head CodeAdd code to output in the <head> on every page e.g., Google Analytics code5000 CharactersPlain TextYesNo
Body Start CodeAdd code to output directly after the opening <body> tag on every page e.g., Google Tag Manager <noscript> tag5000 CharactersPlain TextYesNo
Footer CodeAdd code to output after footer at the end of every page e.g., additional 3rd party JS code5000 CharactersPlain TextNoNo
ImageSelect an image from the media library for a default image to be used for social meta data. Minimum recommended size: 1200 x 675pxN/AMediaYesNo
Twitter HandleAdd handle for Twitter account related to site to be used in social meta data e.g., @HOUCityCollege80 CharactersPlain TextYesNo
Site NameAdd name of the site, this is used in the <title>, og:site_name and author meta tags80 CharactersPlain TextYesNo