Merge pull request #79 from forty/forty/move-custom-css-in-main-css
Merge customCSS inside main CSS
This commit is contained in:
commit
ec4911a3ab
2 changed files with 5 additions and 4 deletions
|
@ -530,3 +530,8 @@ ul.language-select > li, ul.footer-menu > li {
|
|||
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") }}
|
||||
|
||||
{{ range .Site.Params.customCSS -}}
|
||||
{{ partial "resource.html" (dict "context" $ "type" "css" "filename" . ) }}
|
||||
{{- end }}
|
||||
|
||||
{{ range .Site.Params.customJS -}}
|
||||
{{ partial "resource.html" (dict "context" $ "type" "js" "filename" . ) }}
|
||||
{{- end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue