mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12: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="{{ . }}">
|
||||
{{ end }}
|
||||
{{ printf `<link rel="shortcut icon" href="%s">` ("favicon.png" | absURL) | safeHTML }}
|
||||
{{ with .OutputFormats.Get "rss" -}}
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||
{{ end -}}
|
||||
<link href="{{ .Site.BaseURL }}posts/index.xml" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />
|
||||
|
||||
{{ $resources := slice -}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue