Update to replace deprecated RSSlink

This commit is contained in:
Salar Rahmanian 2017-03-26 12:55:48 -04:00
parent cb78ce0d07
commit 8b3d41eed7
2 changed files with 2 additions and 2 deletions

View file

@ -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>

View file

@ -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" />