diff options
author | Shaform <shaform@gmail.com> | 2018-07-16 12:23:25 +0300 |
---|---|---|
committer | Shaform <shaform@gmail.com> | 2018-07-16 12:23:25 +0300 |
commit | 8471f5d76a669e078b5e97f7e79d7891e10313a1 (patch) | |
tree | 53dca59f7bdce7ad71a475414bf5a3201d1099a3 | |
parent | a5aace1052d636438ddd774c8b17f6b515e810ee (diff) |
add RSS link
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 5458ebf..79abbdd 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -31,6 +31,10 @@ <link rel="stylesheet" href="{{ "/css/" | relURL }}{{ . }}"> {{ end }} +{{ if .RSSLink }} +<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> +{{ end }} + {{/* https://gohugo.io/templates/internal/ */}} {{- template "_internal/opengraph.html" . -}} {{- template "_internal/google_news.html" . -}} |