|
56 | 56 | {{ $options := (dict "targetPath" "assets/vendor/bootstrap/css/bootstrap.css" "outputStyle" "compressed" "enableSourceMap" true) }} |
57 | 57 | {{ $bootstrapStyle := resources.Get "vendor/bootstrap/scss/bootstrap.scss" |
58 | 58 | | resources.ExecuteAsTemplate "vendor/bootstrap/scss/bootstrap.scss" . |
59 | | - | resources.ToCSS $options |
| 59 | + | resources.css.Sass $options |
60 | 60 | | minify |
61 | 61 | | fingerprint "sha512" }} |
62 | 62 | <link href="{{ $bootstrapStyle.Permalink }}" rel="stylesheet" integrity="{{ $bootstrapStyle.Data.Integrity }}" crossorigin="anonymous"> |
63 | 63 | <link rel="preload" href="{{ $bootstrapStyle.Permalink }}" as="style" integrity="{{ $bootstrapStyle.Data.Integrity }}" crossorigin="anonymous"> |
64 | 64 | {{ $options := (dict "targetPath" "assets/vendor/aos/aos.css" "outputStyle" "compressed" "enableSourceMap" true) }} |
65 | 65 | {{ $aosStyle := resources.Get "vendor/aos/sass/aos.scss" |
66 | 66 | | resources.ExecuteAsTemplate "vendor/aos/sass/aos.scss" . |
67 | | - | resources.ToCSS $options |
| 67 | + | resources.css.Sass $options |
68 | 68 | | minify |
69 | 69 | | fingerprint "sha512" }} |
70 | 70 | <link href="{{ $aosStyle.Permalink }}" rel="stylesheet" integrity="{{ $aosStyle.Data.Integrity }}" crossorigin="anonymous"> |
|
74 | 74 | {{ $options := (dict "targetPath" "assets/css/style.css" "outputStyle" "compressed" "enableSourceMap" true) }} |
75 | 75 | {{ $mainStyle := resources.Get "css/style.scss" |
76 | 76 | | resources.ExecuteAsTemplate "css/style.scss" . |
77 | | - | resources.ToCSS $options |
| 77 | + | resources.css.Sass $options |
78 | 78 | | minify |
79 | 79 | | fingerprint "sha512" }} |
80 | 80 | <link href="{{ $mainStyle.Permalink }}" rel="stylesheet" integrity="{{ $mainStyle.Data.Integrity }}" crossorigin="anonymous"> |
|
83 | 83 | {{ $options := (dict "targetPath" "assets/vendor/MaterialDesignIcons/css/materialdesignicons.min.css" "outputStyle" "compressed" "enableSourceMap" true) }} |
84 | 84 | {{ $mdiStyle := resources.Get "vendor/MaterialDesignIcons/scss/materialdesignicons.scss" |
85 | 85 | | resources.ExecuteAsTemplate "vendor/MaterialDesignIcons/scss/materialdesignicons.scss" . |
86 | | - | resources.ToCSS $options |
| 86 | + | resources.css.Sass $options |
87 | 87 | | minify |
88 | 88 | | fingerprint "sha512" }} |
89 | 89 | <link href="{{ $mdiStyle.Permalink }}" rel="stylesheet" integrity="{{ $mdiStyle.Data.Integrity }}" crossorigin="anonymous"> |
90 | 90 |
|
91 | 91 | {{ $options := (dict "targetPath" "assets/vendor/font-mfizz/css/font-mfizz.min.css" "outputStyle" "compressed" "enableSourceMap" true) }} |
92 | 92 | {{ $fontMizzStyle := resources.Get "vendor/font-mfizz/font-mfizz.scss" |
93 | 93 | | resources.ExecuteAsTemplate "vendor/font-mfizz/font-mfizz.scss" . |
94 | | - | resources.ToCSS $options |
| 94 | + | resources.css.Sass $options |
95 | 95 | | minify |
96 | 96 | | fingerprint "sha512" }} |
97 | 97 | <link href="{{ $fontMizzStyle.Permalink }}" rel="stylesheet" integrity="{{ $fontMizzStyle.Data.Integrity }}" crossorigin="anonymous"> |
|
0 commit comments