move demo site to docs/ folder
This commit is contained in:
parent
bb7d9f845f
commit
6552c5774e
65 changed files with 12900 additions and 0 deletions
32
docs/_includes/footer-scripts.html
Normal file
32
docs/_includes/footer-scripts.html
Normal file
|
@ -0,0 +1,32 @@
|
|||
{% if layout.common-ext-js %}
|
||||
{% for js in layout.common-ext-js %}
|
||||
{% include ext-js.html js=js %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if layout.common-js %}
|
||||
{% for js in layout.common-js %}
|
||||
<!-- doing something a bit funky here because I want to be careful not to include JQuery twice! -->
|
||||
{% if js contains 'jquery' %}
|
||||
<script>
|
||||
if (typeof jQuery == 'undefined') {
|
||||
document.write('<script src="{{ js | relative_url }}"></scr' + 'ipt>');
|
||||
}
|
||||
</script>
|
||||
{% else %}
|
||||
<script src="{{ js | relative_url }}"></script>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if page.ext-js %}
|
||||
{% for js in page.ext-js %}
|
||||
{% include ext-js.html js=js %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if page.js %}
|
||||
{% for js in page.js %}
|
||||
<script src="{{ js | relative_url }}"></script>
|
||||
{% endfor %}
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue