From 6394af8cf6c1fc3315312cd5106725e70cbd0764 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 6 Jan 2020 21:14:51 +0100 Subject: Add support for alternative output formats (e.g. RSS) --- layouts/_default/baseof.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'layouts/_default') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 53c4d9f..0435195 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,6 +5,9 @@ {{ .Title }} | {{ .Site.Title }} + {{ range .AlternativeOutputFormats -}} + {{ printf `` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }} + {{ end -}} -- cgit 1.4.1