diff options
author | Angelina Panagopoulou <53382660+AngelPn@users.noreply.github.com> | 2021-08-28 18:25:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-28 18:25:45 +0300 |
commit | b673f1b3b694d814aaede5f0884798d9094df8fa (patch) | |
tree | 6963f508caba6b244055e34511a32a9fd97deafa | |
parent | 9821d3e02be033b0e30225fa8970104d63a4563d (diff) |
Fix WARN: Page.Hugo is deprecated
Fix WARN: Page.Hugo is deprecated and will be removed in a future release. Use the global hugo function.
-rw-r--r-- | layouts/partials/head.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index a9e2630..465659b 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -4,7 +4,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="description" content="{{ with .Site.Params.description }} {{ . }} {{ end }}"> <meta name="author" content="{{ with .Site.Params.name }} {{ . }} {{ end }}"> -{{ .Hugo.Generator }} +{{ hugo.Generator }} {{ "<!-- [if lte IE 8 ]]> <script src=" | safeHTML }}"{{ .Site.BaseURL }}{{ "js/ie/html5shiv.js\"></script><![endif] -->" | safeHTML }} <link rel="stylesheet" href="{{ .Site.BaseURL }}css/main.css" /> {{ "<!--[if lte IE 8]><link rel=\"stylesheet\" href=" | safeHTML }}"{{ .Site.BaseURL }}{{ "css/ie8.css\" /><![endif]-->" | safeHTML }} |