Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/2-REC/hugo-myportfolio-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Nugen <rob@robnugen.com>2019-06-12 04:16:25 +0300
committerRob Nugen <rob@robnugen.com>2019-06-12 04:16:43 +0300
commita2a1f877d000f59187f66ac346ae7ded8e271f36 (patch)
tree0616ac92d41c48934c92235b655a7df8a8c06b00
parent35f6660d43780998dc33711fa064fce618fef596 (diff)
Use the global hugo function.
fix error: Page's .Hugo is deprecated and will be removed in a future release.
-rw-r--r--layouts/partials/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index c656489..2532afa 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -15,7 +15,7 @@
<base href="{{ .Site.BaseURL }}">
-{{ .Hugo.Generator }}
+{{ hugo.Generator }}
{{ "<!-- Favicon -->" | safeHTML }}
<link rel="shortcut icon" href="{{ .Site.Params.meta.favicon | absURL }}" type="image/x-icon" />