Merge customCSS inside main CSS
This commit is contained in:
parent
b43d933019
commit
2b1f281384
@ -530,3 +530,8 @@ ul.language-select > li, ul.footer-menu > li {
|
|||||||
max-width: 10em;
|
max-width: 10em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{{ range site.Params.customCSS }}
|
||||||
|
{{ $custom := resources.Get . }}
|
||||||
|
{{ $custom.Content }}
|
||||||
|
{{ end }}
|
||||||
|
@ -16,10 +16,6 @@
|
|||||||
|
|
||||||
{{ partial "resource.html" (dict "context" . "type" "css" "filename" "css/main.css") }}
|
{{ partial "resource.html" (dict "context" . "type" "css" "filename" "css/main.css") }}
|
||||||
|
|
||||||
{{ range .Site.Params.customCSS -}}
|
|
||||||
{{ partial "resource.html" (dict "context" $ "type" "css" "filename" . ) }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{ range .Site.Params.customJS -}}
|
{{ range .Site.Params.customJS -}}
|
||||||
{{ partial "resource.html" (dict "context" $ "type" "js" "filename" . ) }}
|
{{ partial "resource.html" (dict "context" $ "type" "js" "filename" . ) }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user