{{$prodVersion := print .Page.Params.product " " (.Page.Params.version | default "") }} {{ .Page.Title }} | {{ $prodVersion | default .Site.Title -}} {{ $styles := resources.Get "book.scss" | resources.ExecuteAsTemplate "book.scss" . | toCSS | minify | fingerprint }} {{if eq .Params.layout "pdf"}} {{ partial "pdf-head" . }} {{ end }} {{ with .OutputFormats.Get "rss" -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} {{ "" | safeHTML }} {{if ne .Params.layout "pdf"}} {{ $jsCodeCopy := resources.Get "js/codecopy.js"}} {{ end }}