move js back to the head
This commit is contained in:
parent
7bc68035b5
commit
9e9c9c509b
@ -37,6 +37,15 @@
|
|||||||
href="{{ request.staticdirect('/css/base.css') }}"/>
|
href="{{ request.staticdirect('/css/base.css') }}"/>
|
||||||
<link rel="shortcut icon"
|
<link rel="shortcut icon"
|
||||||
href="{{ request.staticdirect('/images/goblin.ico') }}" />
|
href="{{ request.staticdirect('/images/goblin.ico') }}" />
|
||||||
|
<script type="text/javascript"
|
||||||
|
src="{{ request.staticdirect('/js/extlib/jquery.js') }}"></script>
|
||||||
|
<script type="text/javascript"
|
||||||
|
src="{{ request.staticdirect('/js/header_dropdown.js') }}"></script>
|
||||||
|
<script type="text/javascript"
|
||||||
|
src="{{ request.staticdirect('/js/notifications.js') }}"></script>
|
||||||
|
<script>
|
||||||
|
var mark_all_comments_seen_url = "{{ request.urlgen('mediagoblin.notifications.mark_all_comment_notifications_seen') }}"
|
||||||
|
</script>
|
||||||
|
|
||||||
{# For clarification, the difference between the extra_head.html template
|
{# For clarification, the difference between the extra_head.html template
|
||||||
# and the head template hook is that the former should be used by
|
# and the head template hook is that the former should be used by
|
||||||
@ -181,14 +190,5 @@
|
|||||||
</div>
|
</div>
|
||||||
{%- endblock mediagoblin_body %}
|
{%- endblock mediagoblin_body %}
|
||||||
{% include 'mediagoblin/bits/body_end.html' %}
|
{% include 'mediagoblin/bits/body_end.html' %}
|
||||||
<script type="text/javascript"
|
|
||||||
src="{{ request.staticdirect('/js/extlib/jquery.js') }}"></script>
|
|
||||||
<script type="text/javascript"
|
|
||||||
src="{{ request.staticdirect('/js/header_dropdown.js') }}"></script>
|
|
||||||
<script type="text/javascript"
|
|
||||||
src="{{ request.staticdirect('/js/notifications.js') }}"></script>
|
|
||||||
<script>
|
|
||||||
var mark_all_comments_seen_url = "{{ request.urlgen('mediagoblin.notifications.mark_all_comment_notifications_seen') }}"
|
|
||||||
</script>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user