diff options
author | Hudson Worden <hudson.worden@gmail.com> | 2020-08-15 22:01:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-15 22:01:24 +0300 |
commit | c213b38c6fd171366b383967f17f2ebb7b2025f6 (patch) | |
tree | aa96e546c668c785c79cc409debce3508e37412b /assets/sass | |
parent | b7ecf0c08c110f11cc215b7154fb1349263ca106 (diff) |
Use BaseURL for fonts to handle urls that have path components. (#240)
Diffstat (limited to 'assets/sass')
-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 e0ad534..8f5f8d3 100644 --- a/assets/sass/style.sass +++ b/assets/sass/style.sass @@ -1,6 +1,6 @@ {{ $themeStyle := .Site.Params.themeStyle | default "light" }} -$fa-font-path: '{{ "/fonts/fontawesome-free/webfonts" }}' -$nunito-font-path: '{{ "/fonts/NunitoSans" }}' +$fa-font-path: '{{ print $.Site.BaseURL "fonts/fontawesome-free/webfonts" }}' +$nunito-font-path: '{{ print $.Site.BaseURL "fonts/NunitoSans" }}' {{ if eq $themeStyle "auto" }} @import "fonts" |