aboutsummaryrefslogtreecommitdiff
path: root/hugo/layouts/partials/head.html
diff options
context:
space:
mode:
Diffstat (limited to 'hugo/layouts/partials/head.html')
-rw-r--r--hugo/layouts/partials/head.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/hugo/layouts/partials/head.html b/hugo/layouts/partials/head.html
new file mode 100644
index 0000000..cee7cac
--- /dev/null
+++ b/hugo/layouts/partials/head.html
@@ -0,0 +1,26 @@
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+
+ <title>{{ .Title }}</title>
+ <meta name="description" content="{{ .Site.Params.description }}">
+ <meta name="author" content='{{ .Site.Params.author }}'>
+
+ <link rel="stylesheet" href="/cdnjs/bootstrap.min.css">
+ <link rel="stylesheet" href="/cdnjs/all.min.css">
+
+ {{ $style := resources.Get "sass/researcher.scss" | resources.ExecuteAsTemplate "sass/researcher.scss" . | toCSS | minify }}
+ <link rel="stylesheet" href="{{ $style.RelPermalink }}">
+
+ {{ with .Site.Params.favicon }}
+ <link rel="icon" type="image/ico" href="{{ . | absURL }}">
+ {{ end }}
+
+ {{ with .OutputFormats.Get "rss" -}}
+ {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
+ {{ end -}}
+
+ {{ if not .Site.IsServer }}
+ {{ template "_internal/google_analytics.html" . }}
+ {{ end }}
+</head>