2018-09-23 07:11:35 -04:00
|
|
|
<head>
|
2019-03-23 03:18:03 -04:00
|
|
|
<title>
|
|
|
|
{{ if eq .Title .Site.Title }}
|
|
|
|
{{ .Site.Title }}
|
|
|
|
{{ else }}
|
|
|
|
{{ .Title }} - {{ .Site.Title }}
|
|
|
|
{{ end }}
|
|
|
|
</title>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2019-08-13 15:00:20 -04:00
|
|
|
<meta name="author" content="{{ .Site.Params.Author }}" />
|
2019-04-01 16:36:09 -04:00
|
|
|
<link rel="shortcut icon" type="image/x-icon" href="/img/{{ .Site.Params.favicon }}">
|
2018-09-24 12:11:11 -04:00
|
|
|
|
2019-03-23 03:18:03 -04:00
|
|
|
<!-- css -->
|
2019-03-26 12:14:08 -04:00
|
|
|
{{ $style := resources.Get "css/style.css" }}
|
|
|
|
{{ $markdown := resources.Get "css/markdown.css" }}
|
2020-02-16 16:47:29 -05:00
|
|
|
{{ $fontawesome := resources.Get "css/fontawesome.css" }}
|
2019-03-26 12:14:08 -04:00
|
|
|
{{ $syntaxHighlight := resources.Get "css/syntax-highlight.css" }}
|
2020-02-16 16:47:29 -05:00
|
|
|
{{ $css := slice $style $markdown $fontawesome $syntaxHighlight | resources.Concat "style.css" | resources.Minify | resources.Fingerprint }}
|
2019-03-26 12:14:08 -04:00
|
|
|
<link rel="stylesheet" href="{{ $css.Permalink }}">
|
2019-03-23 03:18:03 -04:00
|
|
|
<!-- custom css -->
|
|
|
|
{{ range .Site.Params.custom_css }}
|
|
|
|
<link rel="stylesheet" href="{{ . }}">
|
|
|
|
{{ end }}
|
2018-09-24 12:11:11 -04:00
|
|
|
|
2019-03-23 03:18:03 -04:00
|
|
|
{{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/gohugoio/hugo/tree/master/tpl/tplimpl/embedded/templates */}}
|
|
|
|
{{- template "_internal/opengraph.html" . -}}
|
|
|
|
{{- template "_internal/google_news.html" . -}}
|
|
|
|
{{- template "_internal/schema.html" . -}}
|
|
|
|
{{- template "_internal/twitter_cards.html" . -}}
|
2018-09-24 12:11:11 -04:00
|
|
|
|
2019-03-23 03:18:03 -04:00
|
|
|
<!-- Polyfill for old browsers -->
|
|
|
|
{{ `<!--[if lte IE 9]>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20170427/classList.min.js"></script>
|
|
|
|
<![endif]-->` | safeHTML }}
|
2018-09-24 12:11:11 -04:00
|
|
|
|
2019-03-23 03:18:03 -04:00
|
|
|
{{ `<!--[if lt IE 9]>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
|
|
|
|
<![endif]-->` | safeHTML }}
|
2018-09-24 12:11:11 -04:00
|
|
|
|
2018-09-23 07:11:35 -04:00
|
|
|
</head>
|