summaryrefslogtreecommitdiff
path: root/docs/_includes/preload-font-files.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/_includes/preload-font-files.html')
-rw-r--r--docs/_includes/preload-font-files.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/_includes/preload-font-files.html b/docs/_includes/preload-font-files.html
index f744690f6..f6bf15651 100644
--- a/docs/_includes/preload-font-files.html
+++ b/docs/_includes/preload-font-files.html
@@ -1,9 +1,8 @@
{%
-capture url_root
- %}{% if site.safe == false %}/{% else %}/inter/{% endif
-%}{%
-endcapture %}{%
+if site.safe == false %}{%
+assign url_root = "/" %}{% else %}{%
+assign url_root = "/inter/" %}{% endif %}{%
for file in site.static_files %}{%
assign _path = file.path | remove_first: "/inter" %}{%