summaryrefslogtreecommitdiff
path: root/docs/_includes/preload-font-files.html
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@figma.com>2019-02-06 22:49:18 +0300
committerRasmus Andersson <rasmus@figma.com>2019-02-06 22:49:18 +0300
commit65ce56b9527ce698214f24db779b7a8a2a4783a1 (patch)
treea52d8cfd36071cf47e674ab4731eb4a8e650b88b /docs/_includes/preload-font-files.html
parent33aca189225fff8e5f94838190f8ed10f5f9d8f3 (diff)
downloadinter-65ce56b9527ce698214f24db779b7a8a2a4783a1.tar.xz
website
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" %}{%