Skip to content

Commit

Permalink
Stop using deprecated Hugo function resources.ToCSS
Browse files Browse the repository at this point in the history
  • Loading branch information
bdaehlie committed Dec 18, 2024
1 parent 4b44211 commit f62d0b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
/>
<link rel="stylesheet" media="screen" href="/createx-theme/vendor/simplebar/dist/simplebar.min.css" />
<link rel="stylesheet" media="screen" href="/createx-theme/css/theme.min.css" />
{{ $style := resources.Get "/sass/main.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
{{ $style := resources.Get "/sass/main.scss" | css.Sass | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}?v={{ now}}" />
</head>

0 comments on commit f62d0b8

Please sign in to comment.