diff --git a/assets/css/baseof.css b/assets/css/baseof.css index b9f842d..2b09541 100644 --- a/assets/css/baseof.css +++ b/assets/css/baseof.css @@ -1,5 +1,16 @@ -@import url("../fonts/OpenSans.ttf"); -@import url("../fonts/OpenSans-Italic.ttf"); +@font-face { + font-family: 'Open Sans'; + src: url('/fonts/OpenSans.ttf') format('ttf'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'Open Sans'; + src: url('/fonts/OpenSans-Italic.ttf') format('ttf'); + font-weight: normal; + font-style: italic; +} :root { /* Colors */ diff --git a/content/_index.md b/content/_index.md index 349fc31..7ae040f 100644 --- a/content/_index.md +++ b/content/_index.md @@ -5,3 +5,5 @@ date: 2023-10-18T20:03:43+01:00 # Hazem Krimi +*Hi!* + diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 3d2aff4..73dc785 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,5 +1,5 @@ {{ $styles := resources.Get "css/baseof.css" | toCSS | minify | fingerprint }} -{{ $scripts := resources.Get "js/baseof.js" | minify | fingerprint }} +{{ $scripts := resources.Get "js/baseof.js" | js.Build | minify | fingerprint }}