Commit f543271b authored by Sylvain Kerkour's avatar Sylvain Kerkour

layout: fix RSS on all pages

parent 551034c5
Pipeline #135173649 passed with stages
in 51 seconds
......@@ -38,9 +38,11 @@
<link rel="alternate" hreflang="x-default" href="{{ $.Site.BaseURL }}" />
{{ with .OutputFormats.Get "rss" -}}
{{ with .Site.GetPage "/" }}
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
{{ end -}}
{{ end }}
<!-- css -->
<link rel="stylesheet" href="{{ "css/bootstrap.min.css" | relURL }}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment