diff options
Squashed 'website/themes/hugo-clarity/' content from commit 4969d5a
git-subtree-dir: website/themes/hugo-clarity
git-subtree-split: 4969d5a1fb2c358c00e2d7f6fc1e39024d7d2355
1 files changed, 14 insertions, 0 deletions
| -rw-r--r-- | layouts/partials/head.html | 14 |
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 }}'> |
