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

github.com/blankoworld/hugo_theme_adam_eve.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier DOSSMANN <git@dossmann.net>2019-04-24 16:56:20 +0300
committerOlivier DOSSMANN <git@dossmann.net>2019-04-24 16:56:20 +0300
commit80c2eb3c6d65b12cca77412edf5aeb452b090f18 (patch)
treeccc5d6ee466460e94d2146b806fbf11bb350c189
parent831afd2583be3debcfd821885b2601872870d199 (diff)
Fix WARN for .Hugo variable. Use "hugo" function instead.
-rw-r--r--layouts/partials/header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index d559efa..e8c24b3 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,6 +1,6 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- {{ .Hugo.Generator }}
+ {{ hugo.Generator }}
<title>{{ .Title }} &middot; {{ .Site.Title }}</title>
{{ $styles := resources.Get "css/main.css" | resources.ExecuteAsTemplate "main.css" . | minify | fingerprint }}
<link rel="stylesheet" type="text/css" href="{{ $styles.RelPermalink }}" integrity="{{ $styles.Data.Integrity }}" media="screen" title="default">