hugo-theme-mofo

Minimal theme for Hugo
git clone https://git.bracken.jp/hugo-theme-mofo.git
Log | Files | Refs | LICENSE

commit 829a4026fcb595b92cafa7472636a0043e83e534
parent 98b46e6d2795095dbd9dd9025aef95fcffd5b9ef
Author: Chris Bracken <chris@bracken.jp>
Date:   Sun, 30 Dec 2018 13:54:19 -0800

Add RSS link to head

Diffstat:
Mlayouts/partials/head.html | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/layouts/partials/head.html b/layouts/partials/head.html @@ -10,3 +10,6 @@ {{- end -}} </title> <link href="{{ "css/site.css" | relURL }}" rel="stylesheet"> +{{ range .AlternativeOutputFormats -}} + {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} +{{ end -}}