Skip to content

Commit 17f042e

Browse files
feat(V4): rename "LOCAL" to "DEV" in css.html (#556)
1 parent 422ba83 commit 17f042e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v4/layouts/partials/css.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{ $options := dict "targetPath" "theme.css" "enableSourceMap" true "precision" 6 }}
22
{{ $css := resources.Get "sass/theme.scss" | resources.ExecuteAsTemplate "theme.scss" . | toCSS $options }}
33

4-
{{ if or (.Site.IsServer) (eq .Site.Params.env "LOCAL") }}
4+
{{ if or (.Site.IsServer) (eq .Site.Params.env "DEV") }}
55
<link rel="stylesheet" href="{{ $css.Permalink }}" media="screen">
66
{{ else }}
77
{{ $css := $css | resources.Minify | resources.Fingerprint }}

0 commit comments

Comments
 (0)