Moving scripts to the bottom.
parent
c994ff6f4c
commit
3fb43697dd
|
@ -21,8 +21,6 @@
|
||||||
<meta name="robots" content="noindex, follow" />
|
<meta name="robots" content="noindex, follow" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
|
|
||||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>
|
|
||||||
|
|
||||||
{% if blog_user.profile.gittip_username %}
|
{% if blog_user.profile.gittip_username %}
|
||||||
<script type="text/javascript" charset="utf-8">
|
<script type="text/javascript" charset="utf-8">
|
||||||
|
@ -30,8 +28,6 @@
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<script type="text/javascript" src="{{ STATIC_URL }}js/pro.js?1"></script>
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/pro.css?20" />
|
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/pro.css?20" />
|
||||||
|
|
||||||
<link rel="shortcut icon" href="/static/images/blog-favicon.ico" >
|
<link rel="shortcut icon" href="/static/images/blog-favicon.ico" >
|
||||||
|
@ -107,6 +103,10 @@
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script type="text/javascript" src="{{ STATIC_URL }}js/pro.js?1"></script>
|
||||||
|
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
|
||||||
|
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>
|
||||||
|
|
||||||
{% if not debug %}
|
{% if not debug %}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var _gauges = _gauges || [];
|
var _gauges = _gauges || [];
|
||||||
|
|
|
@ -16,8 +16,6 @@
|
||||||
<meta name="robots" content="noindex, follow" />
|
<meta name="robots" content="noindex, follow" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
|
|
||||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/snipt.css?68" />
|
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/snipt.css?68" />
|
||||||
|
|
||||||
|
@ -339,7 +337,10 @@
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
|
||||||
|
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>
|
||||||
<script type="text/javascript" src="{{ STATIC_URL }}js/snipt.js?41"></script>
|
<script type="text/javascript" src="{{ STATIC_URL }}js/snipt.js?41"></script>
|
||||||
|
|
||||||
{% block extra-scripts %}{% endblock %}
|
{% block extra-scripts %}{% endblock %}
|
||||||
|
|
||||||
{% block inline-js %}
|
{% block inline-js %}
|
||||||
|
@ -365,16 +366,13 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% if has_snipts and detail %}
|
{% if has_snipts and detail %}
|
||||||
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="hidden" id="templates">
|
<div class="hidden" id="templates">
|
||||||
{% include 'snipts/snipt-js-template.html' %}
|
{% include 'snipts/snipt-js-template.html' %}
|
||||||
{% include 'snipts/snipt-edit-js-template.html' %}
|
{% include 'snipts/snipt-edit-js-template.html' %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if not debug %}
|
{% if not debug %}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var _gauges = _gauges || [];
|
var _gauges = _gauges || [];
|
||||||
|
@ -400,7 +398,6 @@
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if request.user.is_authenticated %}
|
{% if request.user.is_authenticated %}
|
||||||
{% if not debug %}
|
{% if not debug %}
|
||||||
{% block intercom %}
|
{% block intercom %}
|
||||||
|
|
Loading…
Reference in New Issue