From e56ef645d0099e3f5582867c649ab88cad8595a9 Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Tue, 11 Jun 2019 14:16:05 -0400 Subject: [PATCH] handle fonts properly --- _assets/css/main.scss | 7 +++++-- _config.yml | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/_assets/css/main.scss b/_assets/css/main.scss index e4988d2..b680fd7 100644 --- a/_assets/css/main.scss +++ b/_assets/css/main.scss @@ -1,14 +1,17 @@ +--- +--- + /* Fonts */ @font-face { font-family: Cantarell; - src: url(/assets/fonts/Cantarell-Regular-332cc3bf7c53f2cfcb9b609ff0c994f737566f53166837d2b9c1e4d747a89ba8.otf); } + src: url(asset_path('fonts/Cantarell-Regular.otf')); } @font-face { font-family: Cantarell; font-weight: bold; - src: url(/assets/fonts/Cantarell-Bold-679d3ac28bb8d9d4c017d40e79ba2f2baea708fbfb9d8669c4b879a56ca996ed.otf); } + src: url(asset_path('fonts/Cantarell-Bold.otf')); } /* Global diff --git a/_config.yml b/_config.yml index 85e0166..d7da3a7 100644 --- a/_config.yml +++ b/_config.yml @@ -40,5 +40,7 @@ assets: digest: true sources: - _assets + - _assets/css + - _assets/fonts # End of file.