From f6d80e44076044113cfcd5e55df2550a2daadc5a Mon Sep 17 00:00:00 2001 From: Tong Wu Date: Sun, 27 Oct 2019 03:23:28 -0700 Subject: [PATCH] Fix redundant .MediaType.Suffix (#100) Fix alternative output formats list: * Fix redundant .MediaType.Suffix * Correct `title` attribute value to page title --- layouts/_default/baseof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6d312b6..7f09c90 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -13,7 +13,7 @@ {{- partial "favicons.html" }} {{.Title}} {{ range .AlternativeOutputFormats -}} - {{ printf `` .Rel .MediaType.Type .MediaType.Suffix .Permalink $.Site.Title | safeHTML }} + {{ printf `` .Rel .MediaType.Type .Permalink $.Title | safeHTML }} {{ end -}} {{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "css/style.css" . | toCSS | minify | fingerprint -}}