Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/davidhampgonsalves/hugo-black-and-light-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hamp-Gonsalves <davidhampgonsalves@gmail.com>2019-07-10 00:41:50 +0300
committerDavid Hamp-Gonsalves <davidhampgonsalves@gmail.com>2019-07-10 00:41:57 +0300
commit6659e02d85bfec8b7bc582330ac5fa723253292f (patch)
tree905850ff753216ea9bc6058c5377e6a15dba52d0
parent8591ff93829ade050bebacc198e73dc35652dd7f (diff)
update RSS
-rw-r--r--layouts/partials/header.html4
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>