diff options
author | Gyorgy Orban <o.gyorgy@gmail.com> | 2019-08-20 15:44:34 +0300 |
---|---|---|
committer | Gyorgy Orban <o.gyorgy@gmail.com> | 2019-08-20 18:11:22 +0300 |
commit | 93bf662c980660eb1551bbed1b0fbb37c227f48e (patch) | |
tree | 8697f2f87ee1e4445d1c28698dc0b63cb123ec65 | |
parent | da80130811db6dd57518793f3c3ee3b098c8d840 (diff) |
fix .Hugo deprecation warning
.Hugo will be depreacted
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | layouts/partials/head.html | 2 | ||||
-rw-r--r-- | theme.toml | 2 |
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" . }} @@ -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" |