blob: f34ea886a094caedd5ace0168552e6b6a261aa6f (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
<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 }}
<meta name="author" content="{{if .Params.author }}{{ .Params.author }}{{ else }}{{ .Site.Params.author }}{{ end }}">
<meta name="description" content="{{if .Params.description }}{{ .Params.description }}{{ else }}{{ .Site.Params.description }}{{ end }}">
{{ if .Params.tags }}
<meta name="keywords" content="{{ delimit .Params.tags ", " }}">
{{ end }}
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}
{{ partial "analytic-google.html" . }}
<!-- global css -->
{{ $options := (dict "targetPath" "css/main.min.css" "outputStyle" "compressed") }}
{{ $style := resources.Get "sass/main.scss" | resources.ToCSS $options }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
<!-- global js -->
<script src="{{ .Site.Params.cdnJQueryJS }}"></script>
<script src="{{ .Site.Params.cdnProgessJS }}"></script>
<script src="{{ .Site.Params.cdnLazysizesAsyncJS }}" async></script>
{{ if .Site.Params.webpChecker }}
{{ $webp := resources.Get "js/modernizr-webp.min.js" }}
<script src="{{ $webp.Permalink }}"></script>
{{ end }}
<!-- optional katex math cdnjs -->
{{ if or .Params.math .Site.Params.math }}
{{ partial "math.html" . }}
{{ end }}
|