From f869569107955803acf4625daab2f4e080f00f80 Mon Sep 17 00:00:00 2001 From: Jannis Grimm Date: Thu, 16 Jan 2020 17:47:00 +0100 Subject: [PATCH] Add &display=swap to Google Font request This requests Google Fonts to deliver fonts with the `font-display: swap;` CSS option, reducing time until meaningful display epecially on slow connections. Including this option is suggested by default now from Google Fonts. --- com.woltlab.wcf/templates/headInclude.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.woltlab.wcf/templates/headInclude.tpl b/com.woltlab.wcf/templates/headInclude.tpl index aaf222d949..f1b590c1b0 100644 --- a/com.woltlab.wcf/templates/headInclude.tpl +++ b/com.woltlab.wcf/templates/headInclude.tpl @@ -7,7 +7,7 @@ {if $__wcf->getStyleHandler()->getStyle()->getVariable('useGoogleFont')} - + {/if} {@$__wcf->getStyleHandler()->getStylesheet()} {event name='stylesheets'} -- 2.20.1