	<head>
		<meta charset="utf-8"/>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		{{ .Hugo.Generator }}
		{{ partial "metatitle" . }}
		{{ partial "metadesc" . }}

		{{ with .Site.Params.FaviconImg }}
		<link rel="shortcut icon" href="{{.}}">
		{{ end }}
	
		{{ partial "style" . }}
	
		{{ range .Site.Params.CustomCSS }}
		<link rel="stylesheet" href="{{ . }}"/>
		{{ end }}

		<link  rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Mono|Lato|Raleway">

		{{ if .Site.Params.HighlightJs }}
		<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/{{- .Site.Params.HighlightJsStyle -}}.min.css">
		<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
		{{ range .Site.Params.HighlightJsLanguages }}
		<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.4.0/languages/{{- . -}}.min.js"></script>
		{{ end }}
		{{ end }}
	</head>

	<head>
		<meta charset="utf-8"/>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		{{ hugo.Generator }}
		{{ partial "metatitle" . }}
		{{ partial "metadesc" . }}

		{{ with .Site.Params.FaviconImg }}
		<link rel="shortcut icon" href="{{.}}">
		{{ end }}
	
		{{ partial "style" . }}
	
		{{ range .Site.Params.CustomCSS }}
		<link rel="stylesheet" href="{{ . }}"/>
		{{ end }}

		<link  rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Mono|Lato|Raleway">

		{{ if .Site.Params.HighlightJs }}
		<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/{{- .Site.Params.HighlightJsStyle -}}.min.css">
		<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
		{{ range .Site.Params.HighlightJsLanguages }}
		<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.4.0/languages/{{- . -}}.min.js"></script>
		{{ end }}
		{{ end }}
	</head>

Replace the deprecated Hugo variable
Replace the deprecated Hugo variable

## Problem

`Page.Hugo` variable was already deprecated. Hugo gave warning `Page.Hugo is deprecated and will be removed in a future release. Use the global hugo function.` when it ran every time.

## Solution

Replace `.Hugo` with `hugo` as the message suggested. Also see https://gohugo.io/variables/hugo/#readout for details.