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:
authorVictoria Drake <hello@victoria.dev>2020-11-20 14:30:25 +0300
committerVictoria Drake <hello@victoria.dev>2020-11-20 14:30:25 +0300
commit32d46f19f436c02c83d1c81439fcad2901f0f038 (patch)
treea843dfa1fb804a261db2ac3cecc0d9f0e1ff5c18 /assets
parent49e5fb4ef42c54c48886c51f32861c192f0c5d59 (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.sass4
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"