migrate bootstrap and flags to bundle
This commit is contained in:
parent
3957190425
commit
82feb539bd
532 changed files with 63 additions and 7630 deletions
24
assets/styles/application.template.scss
Normal file
24
assets/styles/application.template.scss
Normal file
|
@ -0,0 +1,24 @@
|
|||
@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 }}
|
Loading…
Add table
Add a link
Reference in a new issue