mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-13 21:24:55 +00:00
parent
d20d2651ea
commit
5d5f0a2371
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ func CreateVarsStyleSheet(vars map[string]string) string {
|
||||||
// These variables can be a combination of Sass identifiers (e.g. sans-serif), which
|
// These variables can be a combination of Sass identifiers (e.g. sans-serif), which
|
||||||
// should not be quoted, and URLs et, which should be quoted.
|
// should not be quoted, and URLs et, which should be quoted.
|
||||||
// unquote() is knowing what to do with each.
|
// unquote() is knowing what to do with each.
|
||||||
varsSlice = append(varsSlice, fmt.Sprintf("%s%s: unquote('%s');", prefix, k, v))
|
varsSlice = append(varsSlice, fmt.Sprintf("%s%s: unquote(%q);", prefix, k, v))
|
||||||
}
|
}
|
||||||
sort.Strings(varsSlice)
|
sort.Strings(varsSlice)
|
||||||
varsStylesheet = strings.Join(varsSlice, "\n")
|
varsStylesheet = strings.Join(varsSlice, "\n")
|
||||||
|
|
Loading…
Add table
Reference in a new issue