Jump to main content Jump to doc navigation

Head Open Chunk

The bulk of the header, includes CSS and modernizr as well as meta tags.

<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">

  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="[[++bx.x-ua-compatible]]">
  <title>[[++site_name]] - [[*pagetitle]]</title>
  <meta name="description" content="[[++bx.meta_desc]]">
  <meta name="viewport" content="[[++bx.meta_viewport]]">

  <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
  <link rel="stylesheet" href="[[++bx.css_normalize_path]]">
  <link rel="stylesheet" href="[[++bx.css_path]]">
  <script src="[[++bx.modernizr_js_path]]"></script>

See Also


Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.


  • modmore
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Dannevang Digital
  • Digital Penguin
  • Sepia River Studios
  • CrewMark
  • Chris Fickling
  • deJaya
  • Following Sea
  • Anton Tarasov
  • eydolan
  • Raffy
  • Lefthandmedia
  • Murray Wood
  • Nick Clark
  • Snow Creative
  • Helen
  • JT Skaggs
  • krisznet
  • YJ
  • Yanni
  • Richard


$371 per month—let's make that $500!

Learn more