mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-24 00:56:34 -05:00
Added multiple RSS links to homepage
This commit is contained in:
parent
6d329dc122
commit
6f7b7bb270
1 changed files with 9 additions and 2 deletions
|
@ -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" -}}
|
||||
|
|
Loading…
Reference in a new issue