migrate navbar.css and plyr

This commit is contained in:
Aaron Qian 2022-11-13 23:41:28 -08:00 committed by Aaron Qian
parent 5da792bf71
commit 0379080b52
No known key found for this signature in database
GPG key ID: BF1A987C395B5B0E
5 changed files with 317 additions and 307 deletions

View file

@ -2,6 +2,10 @@
@import './layouts/main';
@import './navigators/navbar';
{{ range $feature, $featureDef := site.Params.features }}
{{ with $featureDef }}
{{ $featureEnabled := or (not (isset . "enable")) .enable }}
@ -14,9 +18,11 @@
{{ range $service, $config := .services }}
{{ with (index site.Data.toha.styles $feature) }}
{{ with index $service }}
{{ range .styles }}
@import '{{.}}';
{{ with .services }}
{{ with (index . $service) }}
{{ range .styles }}
@import '{{ . }}';
{{ end }}
{{ end }}
{{ end }}
{{ end }}