Fix output formats issue

This commit is contained in:
Joe Hutchinson
2020-07-15 00:18:46 -04:00
parent 66876e43de
commit 45ff987466

View File

@@ -30,7 +30,7 @@
{{ $style := slice $fontStyle $mainStyle $overrideStyle | resources.Concat "css/concated.css" | minify }} {{ $style := slice $fontStyle $mainStyle $overrideStyle | resources.Concat "css/concated.css" | minify }}
<link href="{{ $style.Permalink }}" rel="stylesheet"> <link href="{{ $style.Permalink }}" rel="stylesheet">
{{ range .AlternativeOutputFormats -}} {{ range .AlternativeOutputFormats -}}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}"> {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}} {{ end -}}
{{ template "_internal/google_analytics.html" . }} {{ template "_internal/google_analytics.html" . }}
{{ with resources.Get .Site.Params.bgimg -}} {{ with resources.Get .Site.Params.bgimg -}}