diff options
author | Corey Thompson <coreyt@gmail.com> | 2019-06-02 22:33:12 +0300 |
---|---|---|
committer | Corey Thompson <coreyt@gmail.com> | 2019-06-02 22:33:12 +0300 |
commit | d57c7b8acaeb6485cf35bc99140bcb25d3dcaf19 (patch) | |
tree | 41654c1bd9c08f1fe6ba297e30f76ffe6af1c4cd | |
parent | a90dc5f7facd8b312b7d764904a7436ebb9a9d93 (diff) |
When building the site, received a warning:
Building sites… WARN 2019/06/01 12:28:30 Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function.
Fixed by updating deprecated ".Hugo" to "hugo" in layouts/partials/head.html
-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 2179dae..8d0b97f 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -7,7 +7,7 @@ <link rel="icon" href="{{ $.Site.BaseURL }}{{ $.Site.Params.favicon }}" /> <meta name="description" content="{{ $.Site.Params.description }}" /> - {{ .Hugo.Generator }} + {{ hugo.Generator }} {{ if .Site.GoogleAnalytics }} {{ template "_internal/google_analytics.html" . }} |