Skip to content

Commit

Permalink
Merge pull request #13 from SPANDigital/PRSDM-7079-fix-deprecated-error
Browse files Browse the repository at this point in the history
fix: PRSDM-7079 Fix resources.ToCSS was deprecated
  • Loading branch information
christopherbrunsdon authored Dec 20, 2024
2 parents e526bd4 + 371a8b0 commit e5eb5f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
<link rel="icon" href="{{ .Site.Params.favicon | absURL }}" type="image/x-icon">
{{ $basePath := $.Site.Params.basePath | default "/" }}
<link data-test="{{$basePath}}" rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
{{ $style := resources.Get "presidium.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
{{ $style := resources.Get "presidium.scss" | css.Sass | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
{{ if resources.Get "index.scss" }}
{{ with resources.Get "index.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
{{ with resources.Get "index.scss" | css.Sass | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ .RelPermalink }}">
{{ end }}
{{ end }}
Expand Down

0 comments on commit e5eb5f2

Please sign in to comment.