diff options
author | Victoria Drake <hello@victoria.dev> | 2020-11-20 14:30:25 +0300 |
---|---|---|
committer | Victoria Drake <hello@victoria.dev> | 2020-11-20 14:30:25 +0300 |
commit | 32d46f19f436c02c83d1c81439fcad2901f0f038 (patch) | |
tree | a843dfa1fb804a261db2ac3cecc0d9f0e1ff5c18 /assets | |
parent | 49e5fb4ef42c54c48886c51f32861c192f0c5d59 (diff) |
Fix missing fonts in demo page
- Update font path in style.sass to use urls.Parse
- No sites should be affected if their baseURLs are correct
- Address #260
Diffstat (limited to 'assets')
-rw-r--r-- | assets/sass/style.sass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/sass/style.sass b/assets/sass/style.sass index 8f5f8d3..220a4af 100644 --- a/assets/sass/style.sass +++ b/assets/sass/style.sass @@ -1,6 +1,6 @@ {{ $themeStyle := .Site.Params.themeStyle | default "light" }} -$fa-font-path: '{{ print $.Site.BaseURL "fonts/fontawesome-free/webfonts" }}' -$nunito-font-path: '{{ print $.Site.BaseURL "fonts/NunitoSans" }}' +$fa-font-path: '{{ urls.Parse "/fonts/fontawesome-free/webfonts" }}' +$nunito-font-path: '{{ urls.Parse "/fonts/NunitoSans" }}' {{ if eq $themeStyle "auto" }} @import "fonts" |