Skip to content

Commit

Permalink
feat(V4): rename "LOCAL" to "DEV" in css.html (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-baiborodine authored Jun 28, 2023
1 parent 422ba83 commit 17f042e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v4/layouts/partials/css.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ $options := dict "targetPath" "theme.css" "enableSourceMap" true "precision" 6 }}
{{ $css := resources.Get "sass/theme.scss" | resources.ExecuteAsTemplate "theme.scss" . | toCSS $options }}

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

0 comments on commit 17f042e

Please sign in to comment.