Added RSS support

Signed-off-by: Brandon Rozek <rozekbrandon@gmail.com>
This commit is contained in:
Brandon Rozek 2020-02-16 17:55:12 -05:00
parent b490470a71
commit 8ecbe90cd4
2 changed files with 38 additions and 0 deletions

View file

@ -6,4 +6,8 @@
</div>
<!-- author -->
<h2><a class="author" href="{{ .Site.BaseURL }}">{{ .Site.Params.Author }}</a></h2>
<!-- Alternative Formats -->
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
</header>