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

github.com/gyorb/hugo-dusk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGyorgy Orban <o.gyorgy@gmail.com>2019-08-20 15:44:34 +0300
committerGyorgy Orban <o.gyorgy@gmail.com>2019-08-20 18:11:22 +0300
commit93bf662c980660eb1551bbed1b0fbb37c227f48e (patch)
tree8697f2f87ee1e4445d1c28698dc0b63cb123ec65
parentda80130811db6dd57518793f3c3ee3b098c8d840 (diff)
fix .Hugo deprecation warning
.Hugo will be depreacted
-rw-r--r--CHANGELOG.md2
-rw-r--r--layouts/partials/head.html2
-rw-r--r--theme.toml2
3 files changed, 4 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6cd5d4d..d08b0be 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,9 +3,11 @@
## [Unreleased]
### Changed
+ * minimal required Hugo version is v0.55
* sort posts/pages on the error page by last modification date
### Fixed
+ * deprecation warnings during site build with v0.55 and newer
* optimize image size when viewed on mobile devices
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 284f38a..d46806f 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -4,7 +4,7 @@
<meta name="description" content="{{ .Site.Params.meta.description }}" />
<meta name="keywords" content="{{ .Site.Params.meta.keywords }}" />
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
-{{ .Hugo.Generator }}
+{{ hugo.Generator }}
<link rel="canonical" href="{{ .Permalink }}">
{{ template "_internal/opengraph.html" . }}
diff --git a/theme.toml b/theme.toml
index d22fe78..354b2ae 100644
--- a/theme.toml
+++ b/theme.toml
@@ -5,7 +5,7 @@ description = "A minimalistic dark responsive theme."
homepage = "https://github.com/gyorb/hugo-dusk"
tags = ["blog", "responsive", "google analytics", "disqus", "syntax highlighting", "custom themes", "minimal", "minimalist", "clean", "dark"]
features = ["blog"]
-min_version = 0.28
+min_version = 0.55
[author]
name = "Gyorgy Orban"