Permalink
Switch branches/tags
Nothing to show
Find file Copy path
fed0a47 Oct 13, 2018
1 contributor

Users who have contributed to this file

19 lines (15 sloc) 1.31 KB
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ if .Params.title }}{{ .Params.title }} &mdash; {{ end }}{{ .Site.Title }}</title>
<meta name="description" content="{{ index .Params "description" | default .Site.Params.description }}">
<!--[if lte IE 8]><script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.2/html5shiv.min.js" integrity="sha256-p0y9B7cfcYrdT+h+HUJPb3lMTObZc9x1DSTPN5ikmhg=" crossorigin="anonymous"></script><![endif]-->
{{ $style := resources.Get "scss/main.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
{{ $ie9 := resources.Get "scss/ie9.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
{{ $ie8 := resources.Get "scss/ie8.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
<!--[if lte IE 9]><link rel="stylesheet" href="{{ $ie9.Permalink }}"><![endif]-->
<!--[if lte IE 8]><link rel="stylesheet" href="{{ $ie8.Permalink }}"><![endif]-->
</head>