Update to replace deprecated RSSlink
This commit is contained in:
parent
cb78ce0d07
commit
8b3d41eed7
|
@ -8,7 +8,7 @@
|
|||
<base href="{{ .Site.BaseURL }}">
|
||||
<title>{{ .Site.Title }}</title>
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
<link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
|
||||
{{ partial "head_includes.html" . }}
|
||||
</head>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<base href="{{ .Site.BaseURL }}">
|
||||
<title> {{ .Title }} - softinio.com </title>
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
{{ if .RSSlink }}<link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Title }}" />{{ end }}
|
||||
{{ if .RSSLink }}<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Title }}" />{{ end }}
|
||||
|
||||
{{ partial "head_includes.html" . }}
|
||||
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
|
||||
|
|
Loading…
Reference in a new issue