Removed deprecated .Hugo and .RSSLink

This commit is contained in:
z0li 2019-04-27 17:11:18 +02:00 committed by Bjørn Erik Pedersen
parent c0cdd0ea1b
commit e36f5799b3
2 changed files with 6 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<head> <head>
<link href="//gmpg.org/xfn/11" rel="profile"> <link href="//gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta http-equiv="content-type" content="text/html; charset=utf-8">
{{ .Hugo.Generator }} {{ hugo.Generator }}
<!-- Enable responsiveness on mobile devices--> <!-- Enable responsiveness on mobile devices-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
@ -25,8 +25,10 @@
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png"> <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="/favicon.png"> <link rel="shortcut icon" href="/favicon.png">
<!-- RSS --> <!-- RSS etc -->
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> {{ range .AlternativeOutputFormats -}}
{{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }}
{{ end -}}
{{ partial "hook_head_end.html" . }} {{ partial "hook_head_end.html" . }}
</head> </head>

View File

@ -4,7 +4,7 @@ licenselink = "https://github.com/spf13/hyde/blob/master/LICENSE.md"
description = "An elegant open source and mobile first theme" description = "An elegant open source and mobile first theme"
tags = ["blog", "company"] tags = ["blog", "company"]
features = ["blog", "themes", "disqus"] features = ["blog", "themes", "disqus"]
min_version = 0.21 min_version = 0.53
[author] [author]
name = "spf13" name = "spf13"