File tree Expand file tree Collapse file tree
themes/aurora/layouts/partials Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525{{ else }}
2626< title > {{ default $.Site.Title .Title }} •{{ if .Section }}{{ printf " %s •" .Section }}{{ end }} Aurora Docs</ title >
2727{{ end }}
28- {{ $styles := resources.Get "scss/main.scss" | toCSS | minify | fingerprint }}
29- < link rel ="stylesheet " href ="{{ $styles.Permalink }} ">
28+ {{ with resources.Get "scss/main.scss" | toCSS | minify | fingerprint }}
29+ < style > {{ .Content | safeCSS }}</ style >
30+ {{ end }}
3031< link rel ="icon " href ="{{ "favicon.ico " | relURL }}">
Original file line number Diff line number Diff line change 44{{ $scroll := resources.Get "js/scroll-offset.js" }}
55{{ $simplebar := resources.GetRemote "https://unpkg.com/simplebar@latest/dist/simplebar.min.js" }}
66{{ $scripts := slice $externalLink $tabs $mobile $scroll $simplebar | resources.Concat "app.js" | minify | fingerprint }}
7- < script type ="text/javascript " src ="{{ $scripts.Permalink }} "> </ script >
7+ {{ with $scripts }}
8+ < script > { { . Content | safeJS } } </ script >
9+ {{ end }}
You can’t perform that action at this time.
0 commit comments