diff options
| author | Jieiku | 2022-06-12 18:47:34 -0700 |
|---|---|---|
| committer | Jieiku | 2022-06-12 18:47:34 -0700 |
| commit | 9ac96c9c0e205584004faed5ca03040450606fb2 (patch) | |
| tree | b4b945dc2907e22b36d27f1e25c33c91cf4f8051 /templates/macros/head.html | |
| parent | 6b9296d49aa4657054547b55607fdccab1741a58 (diff) | |
| download | abridge-9ac96c9c0e205584004faed5ca03040450606fb2.tar.gz abridge-9ac96c9c0e205584004faed5ca03040450606fb2.tar.bz2 abridge-9ac96c9c0e205584004faed5ca03040450606fb2.zip | |
Lighthouse Fixes
Diffstat (limited to 'templates/macros/head.html')
| -rw-r--r-- | templates/macros/head.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/macros/head.html b/templates/macros/head.html index e5ee0ac..e0fb499 100644 --- a/templates/macros/head.html +++ b/templates/macros/head.html @@ -12,6 +12,10 @@ <link rel="stylesheet" href="{{ get_url(path=i, trailing_slash=false, cachebust=true) | safe }}" /> {%- endfor %}{%- endif %} +{%- endmacro %} + +{%- macro stylesheets_preload() %} + {%- if config.extra.fonts %}{%- for i in config.extra.fonts %} {%- if i.url is matching("^http[s]?://") %} <link rel="preload" as="style" class="preStyle" href="{{ i.url | safe }}" crossorigin="anonymous" /> |
