fonts: Make format optional
This commit is contained in:
+1
-1
@@ -79,6 +79,6 @@ fonts:
|
||||
font-family: "{{ font.family }}";{% if style.weight %}
|
||||
font-weight: {{ style.weight }};{% endif %}{% if style.style %}
|
||||
font-style: {{ style.style}};{% endif %}
|
||||
src: url("{{ style.url | absolute_url }}") format("{{ style.format }}");
|
||||
src: url("{{ style.url | absolute_url }}"){% if style.format %} format("{{ style.format }}"){% endif %};
|
||||
}
|
||||
{% endfor %}{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user