diff options
author | David Hamp-Gonsalves <davidhampgonsalves@gmail.com> | 2019-07-10 00:41:50 +0300 |
---|---|---|
committer | David Hamp-Gonsalves <davidhampgonsalves@gmail.com> | 2019-07-10 00:41:57 +0300 |
commit | 6659e02d85bfec8b7bc582330ac5fa723253292f (patch) | |
tree | 905850ff753216ea9bc6058c5377e6a15dba52d0 | |
parent | 8591ff93829ade050bebacc198e73dc35652dd7f (diff) |
update RSS
-rw-r--r-- | layouts/partials/header.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index d649ec2..71f3f07 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -29,8 +29,8 @@ {{ partial "styles.html" . }} - {{ if .RSSLink }} - <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> + {{ with .OutputFormats.Get "RSS" }} + {{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }} {{ end }} </head> |