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

github.com/bake/solar-theme-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbake <w8l@posteo.de>2017-08-25 13:36:14 +0300
committerGitHub <noreply@github.com>2017-08-25 13:36:14 +0300
commit62903e1d3420174a9e2fa9bc6e3f190a90588573 (patch)
treec16af007b9a35f25df47c60b77562fadc9ba7f75
parent53ebe2de2089b9762e8ee1796c71e2716efe383c (diff)
Added RSS-Meta
-rw-r--r--layouts/partials/header.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 7099926..2649c1c 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -4,8 +4,9 @@
<head>
<meta charset="utf-8">
<title>{{ .Title }}</title>
- <meta name="viewport" content="width=device-width">
-
+ <meta name="viewport" content="width=device-width"> {{ 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 }}
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/hybrid.css">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/colors-dark.css">
@@ -22,4 +23,4 @@
{{ partial "navigation.html" . }}
</div>
- <div id="content"> \ No newline at end of file
+ <div id="content">