mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Fix: expose RSS feed on all pages
This commit is contained in:
parent
957e4a9d10
commit
a4874efc07
1 changed files with 1 additions and 3 deletions
|
@ -5,9 +5,7 @@
|
||||||
<meta name="description" content="{{ . }}">
|
<meta name="description" content="{{ . }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ printf `<link rel="shortcut icon" href="%s">` ("favicon.png" | absURL) | safeHTML }}
|
{{ printf `<link rel="shortcut icon" href="%s">` ("favicon.png" | absURL) | safeHTML }}
|
||||||
{{ with .OutputFormats.Get "rss" -}}
|
<link href="{{ .Site.BaseURL }}posts/index.xml" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />
|
||||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
|
||||||
{{ end -}}
|
|
||||||
|
|
||||||
{{ $resources := slice -}}
|
{{ $resources := slice -}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue