When i followed the stepped i received an Error: Undefined variable: “$fontname”.
So:
I declared the variable in $variables:
fontname: "assets/fontname.woff2";
It’s seems to me you have to fill it in, but what path to use in the $variables?
When you let Discourse upload the files with
"assets": {
"fontname": "assets/fontname.woff2"
}
it uploads the file to another path then assets/roboto.woff2 it seems
(/uploads/db0202/original/1X/...
)
Edit:
No need for $variables, the magic happens with the uploads. But i had assets/font.svg#regular in the assets and the hashtag created the issue.