diff options
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..8aede33 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,35 @@ +<meta http-equiv="content-type" content="text/html; charset=utf-8"> +<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> +{{ .Hugo.Generator }} + +<meta charset="utf-8"> +<meta http-equiv="X-UA-Compatible" content="IE=edge"> +<meta name="viewport" content="width=device-width, initial-scale=1"> + +<!-- JQuery --> +<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> + +<!-- Bootstrap minified CSS and JS--> +<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> +<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script> + +<!-- Font Awesome --> +<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"> + +<!-- Custom CSS --> +<link rel="stylesheet" href="{{ "css/default.css" | absURL }}"> + +<!-- Google Fonts --> +<link href="https://fonts.googleapis.com/css?family=Inconsolata%7COpen+Sans%7CConcert+One" rel="stylesheet"> + +<!-- Google Analytics --> +{{ with .Site.Params.GoogleAnalytics }} +<script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); +ga('create', '{{.}}', 'auto'); + ga('send', 'pageview'); +</script> +{{ end }} |