below my code prints.
GET http://localhost:1313/icons-font/icofont.woff2 **net::ERR_ABORTED 404 (Not Found)**
{{ $iconsFont := resources.Get "icons-font/icofont.css" | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $iconsFont.RelPermalink }}">
this is my structure
assets
|-- icons-font
____|--- icofont.woff
____|--- icofont.woff2
____|--- icofont.css
This is my icofont.css
@font-face {
font-family: "IcoFont";
font-weight: normal;
font-style: "Regular";
src: url("icofont.woff2") format("woff2"),
url("icofont.woff") format("woff");
} ...
I’ve tried to use this and it also doesn’t work
@font-face {
font-family: "IcoFont";
font-weight: normal;
font-style: "Regular";
src: url("./icofont.woff2") format("woff2"),
url("./icofont.woff") format("woff");
}