github.com/vlifesystems/rulehunter@v0.0.0-20180501090014-673078aa4a83/html/head_tpl.go (about) 1 // Copyright (C) 2016-2017 vLife Systems Ltd <http://vlifesystems.com> 2 // Licensed under an MIT licence. Please see LICENSE.md for details. 3 4 package html 5 6 const headJSComment = ` 7 <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> 8 <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> 9 <!--[if lt IE 9]> 10 <script src="js/html5shiv.min.js"></script> 11 <script src="js/respond.min.js"></script> 12 <![endif]-->` 13 14 const headTpl = ` 15 <meta charset="utf-8"> 16 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 17 <meta name="viewport" content="width=device-width, initial-scale=1"> 18 <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> 19 20 <base href="{{ .BaseURL }}"> 21 22 <link href="css/bootstrap.min.css" rel="stylesheet"> 23 <link href="css/sitestyle.css" rel="stylesheet"> 24 25 {{ .JSComment }}`