diff options
author | Daniel Jonsson <dannie92@gmail.com> | 2017-01-06 20:18:41 +0300 |
---|---|---|
committer | Juraj Bubniak <juraj.bubniak@gmail.com> | 2017-01-06 20:18:41 +0300 |
commit | a22b82ca27776bc18e9002cf010f6aa50ec623d8 (patch) | |
tree | 1a39d07e74798f222f846f2c5b6424935384e1fb /layouts | |
parent | 403d5f7dfb5edf01097c4325d2c312ff41d5133e (diff) |
Add a link to the page's RSS feed to the <head>
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/header.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 5df2eff..5c553b3 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -14,6 +14,9 @@ <link rel="stylesheet" href="{{ .Site.BaseURL }}dist/styles.css"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,600,700,300&subset=latin,cyrillic-ext,latin-ext,cyrillic"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> + {{ if .RSSLink }} + <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml"> + {{ end }} </head> <body> {{ template "_internal/google_analytics.html" . }} |