From 87879a726ac03f6689904ca36263f7d53d1ba31f Mon Sep 17 00:00:00 2001
From: John Tobin <johntobin@johntobin.ie>
Date: Tue, 23 Apr 2019 13:17:29 +0000
Subject: [PATCH] Replace deprecated .Hugo with hugo. (#171)
---
layouts/_default/baseof.html | 2 +-
theme.toml | 2 +-
netlify.toml | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 6c25b38..e71af7f 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -70,7 +70,7 @@
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
- {{ .Hugo.Generator }}
+ {{ hugo.Generator }}
</head>
<body class="{{ if .Site.Params.rtl }}rtl{{ end }} {{ if .Site.Params.inverted }}inverted{{ end }}">
diff --git a/netlify.toml b/netlify.toml
index 7128d0b..fbd520b 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -3,10 +3,10 @@
command = "make prepare && hugo --source demo --baseURL $URL"
[context.production.environment]
- HUGO_VERSION = "0.49.2"
+ HUGO_VERSION = "0.54.0"
[context.deploy-preview]
command = "make prepare && hugo --source demo --buildFuture --buildDrafts --baseURL $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
- HUGO_VERSION = "0.49.2"
+ HUGO_VERSION = "0.54.0"
diff --git a/theme.toml b/theme.toml
index 71c7162..fc39cd5 100644
--- a/theme.toml
+++ b/theme.toml
@@ -19,7 +19,7 @@
"single-column",
"syntax-highlighting"
]
-min_version = "0.43"
+min_version = "0.54"
[author]
name = "Luiz F. A. de PrĂ¡"
--
Gitblit v1.10.0