{{ $common := resources.Get "scss/common.scss" | toCSS | minify | fingerprint }} {{ if .Params.minCss }} {{ range (split .Params.minCss ",")}} {{ end }} {{ end }} {{ if .Params.css}} {{ $style := resources.Get .Params.css | toCSS | minify | fingerprint }} {{ end }} {{ if strings.HasSuffix .RelPermalink "404.html" }} {{ $style := resources.Get "scss/404.scss" | toCSS | minify | fingerprint }} {{ end }} {{ if .IsDescendant (.GetPage "/docs") }} {{ if not (eq . (.GetPage "/docs"))}} {{ $folder := . }} {{ if not $folder.Params.isDocsRoot }} {{ $style := resources.Get "scss/doc.scss" | toCSS | minify | fingerprint }} {{ end }} {{ end }} {{ end }} {{ if .IsDescendant (.GetPage "/learn") }} {{ if not (eq . (.GetPage "/learn"))}} {{ $style := resources.Get "scss/learn-page.scss" | toCSS | minify | fingerprint }} {{ end }} {{ end }}