summaryrefslogtreecommitdiff
path: root/docs/samples
diff options
context:
space:
mode:
Diffstat (limited to 'docs/samples')
-rw-r--r--docs/samples/index.html7
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" %}{%