aboutsummaryrefslogtreecommitdiff
path: root/templates/macros/head.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/macros/head.html')
-rw-r--r--templates/macros/head.html4
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" />