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

github.com/nirocfz/arabica.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Lehmann <m99@posteo.de>2019-06-19 09:42:09 +0300
committerMarco Lehmann <m99@posteo.de>2019-06-19 09:42:09 +0300
commit4c13a7d3f1f56d5ed045ca23007cfa9a87c27d0b (patch)
tree3e820b1307c1c2785043131b8fc50e460211d2d9
parent56cdaa8dd16b618f120da07525e38d8bebd247bf (diff)
Fixed .RSSLink warning
-rw-r--r--layouts/partials/head.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index d4424f8..31f16cb 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -11,8 +11,8 @@
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
- {{ if .RSSLink -}}
- <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
+ {{ range .AlternativeOutputFormats -}}
+ <link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
{{ end -}}
<!-- Styles and Fonts -->