Add support for custom scss
This commit is contained in:
parent
615e0611b5
commit
3f1d648b03
@ -16,6 +16,10 @@
|
|||||||
{{ range .Site.Params.custom_css }}
|
{{ range .Site.Params.custom_css }}
|
||||||
<link rel="stylesheet" href="{{ $.Site.BaseURL}}{{ . }}">
|
<link rel="stylesheet" href="{{ $.Site.BaseURL}}{{ . }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ range .Site.Params.custom_scss }}
|
||||||
|
{{ $style := resources.Get . | resources.ToCSS }}
|
||||||
|
<link rel="stylesheet" href="{{ $style.Permalink }}">
|
||||||
|
{{ end }}
|
||||||
{{ `<!--[if lt IE 9]>
|
{{ `<!--[if lt IE 9]>
|
||||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
||||||
|
Loading…
Reference in New Issue
Block a user