fix code style
This commit is contained in:
parent
277dd13eb1
commit
589430e6e4
1 changed files with 3 additions and 4 deletions
|
@ -27,12 +27,11 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<!-- Styles & Scripts -->
|
<!-- Styles & Scripts -->
|
||||||
{{ $main_css := resources.Get "main.css" }}
|
{{ $main := resources.Get "main.css" }}
|
||||||
<!---->
|
<!---->
|
||||||
{{ $custom_css := resources.Get "custom.css" }}
|
{{ $custom := resources.Get "custom.css" }}
|
||||||
<!---->
|
<!---->
|
||||||
{{ $css := slice $main_css $custom_css | resources.Concat "main.css" | minify
|
{{ $css := slice $main $custom | resources.Concat "main.css" | minify }}
|
||||||
}}
|
|
||||||
<link rel="preload stylesheet" as="style" href="{{ $css.Permalink }}" />
|
<link rel="preload stylesheet" as="style" href="{{ $css.Permalink }}" />
|
||||||
|
|
||||||
{{ if and .IsPage (not site.Params.disableHLJS) }}
|
{{ if and .IsPage (not site.Params.disableHLJS) }}
|
||||||
|
|
Loading…
Reference in a new issue