diff --git a/docs/_includes/preload-font-files.html b/docs/_includes/preload-font-files.html
index 34847f426..041624df6 100644
--- a/docs/_includes/preload-font-files.html
+++ b/docs/_includes/preload-font-files.html
@@ -1,2 +1,9 @@
-
-
\ No newline at end of file
+{%
+
+capture url_root
+ %}{% if site.safe == false %}/{% else %}/inter/{% endif
+%}{%
+endcapture
+
+%}
+
\ No newline at end of file