aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2015-08-03 23:04:42 +0200
committerAlex Legler <alex@a3li.li>2015-08-03 23:04:42 +0200
commit3978ab9809ecff135d74fd1e1cec5e5728133ca7 (patch)
treeb7e287e3e5c48a8d8d3f0d18d29f610314adff0b
parentMove larger scripts to the very end of the page (diff)
downloadwww-3978ab9809ecff135d74fd1e1cec5e5728133ca7.tar.gz
www-3978ab9809ecff135d74fd1e1cec5e5728133ca7.tar.bz2
www-3978ab9809ecff135d74fd1e1cec5e5728133ca7.zip
Inline scripts go after jquery and bootstrap's js
-rw-r--r--_layouts/tyrian.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_layouts/tyrian.html b/_layouts/tyrian.html
index 96a9a90..52c89ef 100644
--- a/_layouts/tyrian.html
+++ b/_layouts/tyrian.html
@@ -14,7 +14,6 @@
{% include layout/footer.html %}
- {% if page.inlinejs %}<script>{{ page.inlinejs }}</script>{% endif %}
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(["disableCookies"]);
@@ -31,5 +30,6 @@
<script src="{{ site.cdnurl }}/jquery.min.js"></script>
<script src="{{ site.cdnurl }}/bootstrap.min.js"></script>
{% if page.extrajs %}{% for js in page.extrajs %}<script src="/assets/js/{{ js }}"></script>{% endfor %}{% endif %}
+ {% if page.inlinejs %}<script>{{ page.inlinejs }}</script>{% endif %}
</body>
</html> \ No newline at end of file