Fix the RSS url

This commit is contained in:
Gregory Trolliet 2023-09-08 14:20:27 +02:00
parent fde0bdf421
commit 18d74969be

View file

@ -20,7 +20,7 @@
<meta name="author" content="{{ .Site.Params.author }}"> <meta name="author" content="{{ .Site.Params.author }}">
{{ end }} {{ end }}
<link rel="stylesheet" href="/css/style.css"> <link rel="stylesheet" href="/css/style.css">
<link href="{{ .Site.RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}"> <link href="{{ .Site.BaseURL }}/index.xml" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}">
{{ if and (.Site.Params.favicon) (fileExists (print "static/images/" .Site.Params.favicon)) }} {{ if and (.Site.Params.favicon) (fileExists (print "static/images/" .Site.Params.favicon)) }}
{{ $name := .Site.Params.favicon }} {{ $name := .Site.Params.favicon }}
{{ $splitted := split $name "." }} {{ $splitted := split $name "." }}