aboutsummaryrefslogtreecommitdiffstats
path: root/site/_layouts/doc.html
diff options
context:
space:
mode:
Diffstat (limited to 'site/_layouts/doc.html')
-rw-r--r--site/_layouts/doc.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/site/_layouts/doc.html b/site/_layouts/doc.html
index 61ffdf0..c064ccf 100644
--- a/site/_layouts/doc.html
+++ b/site/_layouts/doc.html
@@ -3,7 +3,7 @@ layout: base
docs_tab: true
analytics_id: {{site.ganalytics}}
-scripts:
+scripts:
- lib/raphael-min.js
- lib/underscore-min.js
- lib/sequence-diagram-min.js
@@ -15,7 +15,8 @@ scripts:
set some constants
{% endcomment %}
{% assign ALL_PAGES = site.data.all-pages %}
-{% assign DOCSDIR = site.docsurl %}
+{% assign DOCSDIR = site.baseurl %}
+{% capture DOCSDIR %}{{DOCSDIR}}{{ site.docsurl }}{% endcapture %}
{% assign TOCSDIR = site.data.tocs %}
{% assign TOCFILE = TOCSDIR[page.tocdir][page.tocfile] %}