Skip to content

Commit e36f579

Browse files
z0libep
authored andcommitted
Removed deprecated .Hugo and .RSSLink
1 parent c0cdd0e commit e36f579

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

layouts/partials/head.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<link href="//gmpg.org/xfn/11" rel="profile">
55
<meta http-equiv="content-type" content="text/html; charset=utf-8">
6-
{{ .Hugo.Generator }}
6+
{{ hugo.Generator }}
77

88
<!-- Enable responsiveness on mobile devices-->
99
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@@ -25,8 +25,10 @@
2525
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">
2626
<link rel="shortcut icon" href="/favicon.png">
2727

28-
<!-- RSS -->
29-
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
28+
<!-- RSS etc -->
29+
{{ range .AlternativeOutputFormats -}}
30+
{{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }}
31+
{{ end -}}
3032

3133
{{ partial "hook_head_end.html" . }}
3234
</head>

theme.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ licenselink = "https://github.com/spf13/hyde/blob/master/LICENSE.md"
44
description = "An elegant open source and mobile first theme"
55
tags = ["blog", "company"]
66
features = ["blog", "themes", "disqus"]
7-
min_version = 0.21
7+
min_version = 0.53
88

99
[author]
1010
name = "spf13"

0 commit comments

Comments
 (0)