diff options
author | Rasmus Andersson <rasmus@figma.com> | 2019-02-06 22:49:18 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@figma.com> | 2019-02-06 22:49:18 +0300 |
commit | 65ce56b9527ce698214f24db779b7a8a2a4783a1 (patch) | |
tree | a52d8cfd36071cf47e674ab4731eb4a8e650b88b /docs/_includes | |
parent | 33aca189225fff8e5f94838190f8ed10f5f9d8f3 (diff) | |
download | inter-65ce56b9527ce698214f24db779b7a8a2a4783a1.tar.xz |
website
Diffstat (limited to 'docs/_includes')
-rw-r--r-- | docs/_includes/ctxedit.html | 7 | ||||
-rw-r--r-- | docs/_includes/preload-font-files.html | 7 |
2 files changed, 6 insertions, 8 deletions
diff --git a/docs/_includes/ctxedit.html b/docs/_includes/ctxedit.html index 64dea24e6..791a0739c 100644 --- a/docs/_includes/ctxedit.html +++ b/docs/_includes/ctxedit.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" %}{% 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" %}{% |