font_url
Returns the CDN URL for a font file in the specified format (woff2 or woff).
font | font_url(format=format) returns [string]
Params
-
fontfont: A font object.
Hash Params
-
formatstring: Font file format (woff2orwoff), defaultwoff2.
Example
{{ settings.sort_title_font | font_url() }}
{{ settings.sort_title_font | font_url(format="woff") }}
Was this article helpful to you?