Skip to content

Commit

Permalink
layout: add a note about preloading
Browse files Browse the repository at this point in the history
This should work from Firefox 78 once preloading is enabled again.
See:

 - https://bugzilla.mozilla.org/show_bug.cgi?id=1623953
 - https://bugzilla.mozilla.org/show_bug.cgi?id=1626997
  • Loading branch information
vincentbernat committed Jun 6, 2020
1 parent be4febc commit 10a777e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layout/base.j2
Expand Up @@ -39,7 +39,7 @@
{% endif %}
<link rel="alternate" href="{{ content_url( resource.meta.language + '/blog/atom.xml') }}" type="application/atom+xml" title="ATOM feed">
{% for font in "merriweather merriweather-italic iosevka-custom-regular".split() %}
<link rel="preload" href="{{ media_url('fonts/') }}{{ font }}.woff2" as="font" type="font/woff2">
<link rel="preload" href="{{ media_url('fonts/{}.woff2'.format(font)) }}" as="font" type="font/woff2">
{% endfor %}
<link rel="stylesheet" href="{{ media_url('css/luffy.css') }}">
{% for css in resource.meta.css %}
Expand Down

0 comments on commit 10a777e

Please sign in to comment.