Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorHudson Worden <hudson.worden@gmail.com>2020-08-15 22:01:24 +0300
committerGitHub <noreply@github.com>2020-08-15 22:01:24 +0300
commitc213b38c6fd171366b383967f17f2ebb7b2025f6 (patch)
treeaa96e546c668c785c79cc409debce3508e37412b /assets
parentb7ecf0c08c110f11cc215b7154fb1349263ca106 (diff)
Use BaseURL for fonts to handle urls that have path components. (#240)
Diffstat (limited to 'assets')
-rw-r--r--assets/sass/style.sass4
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"