Added multiple RSS links to homepage

This commit is contained in:
Brandon Rozek 2022-05-02 00:04:37 -04:00
parent 6d329dc122
commit 6f7b7bb270

View file

@ -24,12 +24,19 @@
<link rel="webmention" href="https://webmention.io/brandonrozek.com/webmention" />
<link rel="pingback" href="https://webmention.io/brandonrozek.com/xmlrpc" />
<!-- RSS Links -->
<!-- RSS / Alternative Links -->
{{- if .IsHome -}}
<link rel="alternate" type="application/rss+xml" href="{{ .Site.BaseURL }}index.xml" title="Brandon Rozek's Site Updates" />
<link rel="alternate" type="application/json" href="{{ .Site.BaseURL }}blog/index.json" title="Brandon Rozek's Blog" />
<link rel="alternate" type="application/rss+xml" href="{{ .Site.BaseURL }}blog/index.xml" title="Brandon Rozek's Blog" />
<link rel="alternate" type="application/json" href="{{ .Site.BaseURL }}presentations/index.json" title="Brandon Rozek's Presentations}" />
<link rel="alternate" type="application/rss+xml" href="{{ .Site.BaseURL }}presentations/index.xml" title="Brandon Rozek's Presentations" />
{{ else }}
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end }}
{{ end -}}
<!-- CSS -->
{{- $style := resources.Get "css/style.css" -}}
{{- $markdown := resources.Get "css/markdown.css" -}}