Skip to content

Commit

Permalink
Fix sass quoted string interpolation for hugo 0.110.0 (#1566)
Browse files Browse the repository at this point in the history
* fix for #1378 to fix sass quoted string interpolation for hugo 0.110.0

* Adds quotes to the scss.hbs file so it reflects what is in font/bootstrap-icons.scss

* Update bootstrap-icons.scss

* Putting the fix, adding quotes around the -icons-font-file variable, back after it was removed by ea46c09

* The font/bootstrap-icons.scss is auto generated, so changes should not be made manually.

---------

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
  • Loading branch information
dherbst and XhmikosR committed Mar 25, 2023
1 parent 8b75303 commit d10633c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/font/scss.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

${{ name }}-font: "{{ name }}" !default;
${{ name }}-font-dir: "{{ fontsUrl }}" !default;
${{ name }}-font-file: #{${{ name }}-font-dir}/#{${{ name }}-font} !default;
${{ name }}-font-file: "#{${{ name }}-font-dir}/#{${{ name }}-font}" !default;
${{ name }}-font-hash: "24e3eb84d0bcaf83d77f904c78ac1f47" !default;
${{ name }}-font-src: url("#{${{ name }}-font-file}.woff2?#{${{ name }}-font-hash}") format("woff2"),
url("#{${{ name }}-font-file}.woff?#{${{ name }}-font-hash}") format("woff") !default;
Expand Down

0 comments on commit d10633c

Please sign in to comment.