Base template

Archive - Updated 16/08/19. Current version

Template

v.4.12.0

The crossorigin attribute on the script files to allow CORS can now be included.

<script async src="[ CDN Folder Path ]/js/vendor/core/modernizr.js" crossorigin="anonymous"></script>
<script async id="js-init" src="[ CDN Folder Path ]/js/init.js" crossorigin="anonymous"></script>

Prior to v.4.0.0

The core css file name and location was different.

<link media="all" href="[ CDN Folder Path ]/css/vendor/normalize/normalize.css" rel="stylesheet" />
<!--[if !IE | gt IE 8]><!-->
<link media="all" href="[ CDN Folder Path ]/css/postcss-split1.css" rel="stylesheet" />
<link media="all" href="[ CDN Folder Path ]/css/postcss-split2.css" rel="stylesheet" />
<link media="all" href="[ CDN Folder Path ]/css/postcss-split.css" rel="stylesheet" />
<!-- [ Insert custom css for all browsers apart from IE8 here ]-->
<!--<![endif]-->
<!--[if IE 9]>
	<link media="all" href="[ CDN Folder Path ]/css/ie9.css" rel="stylesheet" />
	<!-- [ Insert custom IE9 fixes here ]-->
<![endif]-->
<!--[if lte IE 8]>
	<link media="all" href="[ CDN Folder Path ]/css/postcss.unmq-split1.css" rel="stylesheet" />
	<link media="all" href="[ CDN Folder Path ]/css/postcss.unmq-split2.css" rel="stylesheet" />
	<link media="all" href="[ CDN Folder Path ]/css/postcss.unmq-split.css" rel="stylesheet" />
	<!-- [ Insert custom IE8 styles and fixes here ]-->
<![endif]-->

<link media="print" href="[ CDN Folder Path ]/css/print.css" rel="stylesheet" />
<!-- [ Insert custom print styles here ]-->

Prior to v.3.2.0

DNS prefetch tags and the async attribute on script tags were not included prior to v.3.2.0

Prior to v.3.1.0

The core css was only split into two files not three. Use the following code to consume v.3.0.0

<link media="all" href="[ CDN Folder Path ]/css/vendor/normalize/normalize.css" rel="stylesheet" />
<!--[if !IE | gt IE 8]><!-->
<link media="all" href="[ CDN Folder Path ]/css/postcss-split1.css" rel="stylesheet" />
<link media="all" href="[ CDN Folder Path ]/css/postcss-split.css" rel="stylesheet" />
<!-- [ Insert custom css for all browsers apart from IE8 here ]-->
<!--<![endif]-->
<!--[if IE 9]>
	<link media="all" href="[ CDN Folder Path ]/css/ie9.css" rel="stylesheet" />
	<!-- [ Insert custom IE9 fixes here ]-->
<![endif]-->
<!--[if lte IE 8]>
	<link media="all" href="[ CDN Folder Path ]/css/postcss.unmq-split1.css" rel="stylesheet" />
	<link media="all" href="[ CDN Folder Path ]/css/postcss.unmq-split.css" rel="stylesheet" />
	<!-- [ Insert custom IE8 styles and fixes here ]-->
<![endif]-->

<link media="print" href="[ CDN Folder Path ]/css/print.css" rel="stylesheet" />
<!-- [ Insert custom print styles here ]-->