Website Summary Files Commits Branches @commit @diff @stats
path: root / layouts / partials / head.html
diff options
context:
space:
mode:
Commit8dad1d1bd0bc7206f16323d220fdce73c400f470 (patch)
Author
 Dimitar Trendafilov <trendafilov.dn@gmail.com>
2020-08-18 15:18:25 +0300
Committer
 Dimitar Trendafilov <trendafilov.dn@gmail.com>
2020-08-18 15:18:25 +0300
Files1dd6b123977afd3e391f39e2bef68f7daa0cbecb /layouts/partials/head.html
IPL-8dad1d1bd0bc7206f16323d220fdce73c400f470.tar
IPL-8dad1d1bd0bc7206f16323d220fdce73c400f470.tar.gz
IPL-8dad1d1bd0bc7206f16323d220fdce73c400f470.zip
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.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 }}'>