From e36f5799b396ecf7a665b330da8cac5b0b6e2891 Mon Sep 17 00:00:00 2001 From: z0li <22303427+z0li@users.noreply.github.com> Date: Sat, 27 Apr 2019 17:11:18 +0200 Subject: Removed deprecated .Hugo and .RSSLink --- layouts/partials/head.html | 8 +++++--- theme.toml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ab68c44..30ff316 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,7 +3,7 @@
- {{ .Hugo.Generator }} + {{ hugo.Generator }} @@ -25,8 +25,10 @@ - - + + {{ range .AlternativeOutputFormats -}} + {{ printf `` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }} + {{ end -}} {{ partial "hook_head_end.html" . }} diff --git a/theme.toml b/theme.toml index 4703ca5..a6cdeae 100644 --- a/theme.toml +++ b/theme.toml @@ -4,7 +4,7 @@ licenselink = "https://github.com/spf13/hyde/blob/master/LICENSE.md" description = "An elegant open source and mobile first theme" tags = ["blog", "company"] features = ["blog", "themes", "disqus"] -min_version = 0.21 +min_version = 0.53 [author] name = "spf13" -- cgit v1.2.1-24-ge1ad