mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2025-02-05 14:30:01 +00:00
Fix assets when baseurl contains path
This commit is contained in:
parent
26d6a45c1c
commit
5ccd6795b2
2 changed files with 2 additions and 3 deletions
|
@ -1,5 +1,3 @@
|
||||||
$nunito-font-path: "/fonts/NunitoSans"
|
|
||||||
|
|
||||||
/* vietnamese */
|
/* vietnamese */
|
||||||
@font-face
|
@font-face
|
||||||
font-family: 'Nunito Sans'
|
font-family: 'Nunito Sans'
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{{ $themeStyle := .Site.Params.themeStyle | default "light" }}
|
{{ $themeStyle := .Site.Params.themeStyle | default "light" }}
|
||||||
$fa-font-path: "/fonts/fontawesome-free/webfonts"
|
$fa-font-path: {{ "/fonts/fontawesome-free/webfonts" | relURL }}
|
||||||
|
$nunito-font-path: {{ "/fonts/NunitoSans" | relURL }}
|
||||||
|
|
||||||
@import "bulma-import"
|
@import "bulma-import"
|
||||||
@import "../vendor/fontawesome-free/scss/fontawesome.scss"
|
@import "../vendor/fontawesome-free/scss/fontawesome.scss"
|
||||||
|
|
Loading…
Reference in a new issue