summaryrefslogtreecommitdiffstats
path: root/layouts/partials/head.html
blob: 749c2136c5cd031104d2a157db2114688e3a8069 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="HandheldFriendly" content="True" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">
{{ hugo.Generator }}
{{ partial "favicon.html" . }}

{{ if .IsHome }}
<title>{{ .Site.Title }} - {{ .Site.Params.subTitle }}</title>
{{ else }}
<title>{{ .Title }} - {{ .Site.Title }}</title>
{{ end }}

{{ $sass := resources.Get "sass/main.scss" }}
{{ $style := $sass | resources.ToCSS }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
<script src="{{ .Site.Params.cdnVanillaLazyloadJS }}"></script>
<script src="{{ .Site.Params.cdnJQueryJS }}"></script>
<script src="{{ .Site.Params.cdnProgessJS }}"></script>
{{ if or .Params.math .Site.Params.math }}
{{ partial "math.html" . }}
{{ end }}