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/samples/index.html | |
parent | 33aca189225fff8e5f94838190f8ed10f5f9d8f3 (diff) | |
download | inter-65ce56b9527ce698214f24db779b7a8a2a4783a1.tar.xz |
website
Diffstat (limited to 'docs/samples/index.html')
-rw-r--r-- | docs/samples/index.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/samples/index.html b/docs/samples/index.html index 3143df37e..b3763ebab 100644 --- a/docs/samples/index.html +++ b/docs/samples/index.html @@ -4,10 +4,9 @@ title: Samples --- {% -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" %}{% |