aboutsummaryrefslogtreecommitdiff
path: root/templates/macros
diff options
context:
space:
mode:
authorSpencer Imbleau2022-05-13 09:32:56 -0400
committerJieiku2022-05-31 00:42:56 -0700
commitf454701378ec80345bafa460d0ac9fc6f9d27f56 (patch)
tree234816a806c2992a702d5de5fd7a26a6929564f8 /templates/macros
parenta2ecc94e7e33283aa386a82817ef87644477cf42 (diff)
downloadabridge-f454701378ec80345bafa460d0ac9fc6f9d27f56.tar.gz
abridge-f454701378ec80345bafa460d0ac9fc6f9d27f56.tar.bz2
abridge-f454701378ec80345bafa460d0ac9fc6f9d27f56.zip
Enabled async loading of FontAwesome
Diffstat (limited to 'templates/macros')
-rw-r--r--templates/macros/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/macros/head.html b/templates/macros/head.html
index ac411f7..6216830 100644
--- a/templates/macros/head.html
+++ b/templates/macros/head.html
@@ -13,7 +13,7 @@
{%- endfor %}{%- endif %}
{%- if config.extra.fontawesome %}
- <link rel="stylesheet" href="{{ config.extra.fontawesome | safe }}" crossorigin="anonymous">
+ <link rel="preload" href="{{ config.extra.fontawesome | safe }}" as="style" onload="this.onload=null;this.rel='stylesheet'" crossorigin="anonymous">
{%- endif %}
{%- if config.build_search_index %}