Added RSS link

I followed the instructions reported at https://gohugo.io/templates/rss/
master
Mario Sangiorgio 9 years ago committed by Calin Tataru
parent 2ac9acc008
commit 722ac1f819
  1. 4
      layouts/partials/header.html

@ -5,6 +5,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ .Title }}</title>
{{ partial "css" . }} {{ partial "js" . }} {{ .Hugo.Generator }}
{{ if .RSSLink }}
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }}
</head>
<body>

Loading…
Cancel
Save