Merge pull request #71 from harmstyler/feature/adjust-hugo-function-deprecation

Convert deprecated .Hugo to hugo function
This commit is contained in:
Huy Tran 2019-04-30 07:02:59 +07:00 committed by GitHub
commit 6c6fb83641
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@
<meta http-equiv="Cache-Control" content="public" /> <meta http-equiv="Cache-Control" content="public" />
{{ "<!-- Enable responsiveness on mobile devices -->" | safeHTML }} {{ "<!-- Enable responsiveness on mobile devices -->" | safeHTML }}
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
{{ .Hugo.Generator }} {{ hugo.Generator }}
{{ if .IsHome }} {{ if .IsHome }}
{{ $.Scratch.Set "theTitle" .Site.Title }} {{ $.Scratch.Set "theTitle" .Site.Title }}
{{else}} {{else}}