24 lines
No EOL
678 B
SCSS
24 lines
No EOL
678 B
SCSS
@import 'bootstrap/scss/bootstrap.scss';
|
|
|
|
{{ range $feature, $featureDef := site.Params.features }}
|
|
{{ with $featureDef }}
|
|
{{ $featureEnabled := or (not (isset . "enable")) .enable }}
|
|
{{ if $featureEnabled }}
|
|
{{ with (index site.Data.toha.styles $feature) }}
|
|
{{ range .styles }}
|
|
@import '{{.}}';
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ range $service, $config := .services }}
|
|
{{ with (index site.Data.toha.styles $feature) }}
|
|
{{ with index $service }}
|
|
{{ range .styles }}
|
|
@import '{{.}}';
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }} |