mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
parent
effa6a4226
commit
aa2c724195
1 changed files with 1 additions and 2 deletions
|
@ -364,8 +364,7 @@ func (ns *Namespace) ToCSS(args ...any) (resource.Resource, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if m != nil {
|
if m != nil {
|
||||||
maps.PrepareParams(m)
|
if t, found := maps.LookupEqualFold(m, "transpiler"); found {
|
||||||
if t, found := m["transpiler"]; found {
|
|
||||||
switch t {
|
switch t {
|
||||||
case transpilerDart, transpilerLibSass:
|
case transpilerDart, transpilerLibSass:
|
||||||
transpiler = cast.ToString(t)
|
transpiler = cast.ToString(t)
|
||||||
|
|
Loading…
Reference in a new issue