{{ $sass := resources.Get "css/main.scss" }} {{ $style := $sass | resources.ToCSS }} {{ range .AlternativeOutputFormats -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} {{ range .Sections -}} {{- range .AlternativeOutputFormats }} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{- end }} {{ end -}} {{ if .Title }} {{ else }} {{ end }} {{ if .Params.image }} {{ $imageSize := default "600x600" }} {{ $src := .Page.Resources.GetMatch (.Params.image) }} {{ $image := $src.Fit $imageSize }} {{ end }}