Website Summary Files Commits Branches @commit @diff @stats
path: root / layouts / partials / head.html
diff options
context:
space:
mode:
1 files changed, 14 insertions, 0 deletions
-rw-r--r--layouts/partials/head.html14
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
new file mode 100644
index 0000000..c2544b8
--- /dev/null
+++ b/layouts/partials/head.html
@@ -0,0 +1,14 @@
+ <title>{{ if and .Title (ne (trim (lower .Site.Title) "") (trim (lower .Title) "")) }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
+ <meta charset='utf-8'>
+ {{ hugo.Generator }}
+ {{- with .Site.Params.ga_verify }}
+ <meta name="google-site-verification" content="{{ . }}" />
+ {{- end }}
+ <meta name = 'viewport' content = 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no'>
+ <meta http-equiv = 'X-UA-Compatible' content = 'IE=edge'>
+ {{- if (ne hugo.Environment "development") }}
+ {{- partial "analytics.html" . }}
+ {{- end }}
+ {{- partial "opengraph.html" . }}
+ {{- partial "favicon.html" . }}
+ <link rel='canonical' href='{{ .Permalink }}'>