--- a/opensourceprojects/templates/jinja_master/master.html
+++ b/opensourceprojects/templates/jinja_master/master.html
@@ -4,8 +4,8 @@
{% if g.theme.jinja_macros %}
{% import g.theme.jinja_macros as theme_macros with context %}
{% endif %}
-{% do g.register_forge_js('js/jquery-base.js') %}
-{% do g.register_forge_js('js/jquery.notify.js') %}
+{% do g.register_forge_js('js/jquery-base.js', location='head_js') %}
+{% do g.register_forge_js('js/jquery.notify.js', location='head_js') %}
{% do g.register_forge_js('js/sylvester.js') %}
{% do g.register_forge_js('js/pb.transformie.min.js') %}
{% do g.register_forge_js('js/allura-base.js') %}
@@ -29,11 +29,9 @@
{% for blob in g.resource_manager.emit('head_css') %}
{{ blob }}
{% endfor %}
- {% if c.project %}
{% for blob in g.resource_manager.emit('head_js') %}
{{ blob }}
{% endfor %}
- {% endif %}
{% if c.project and c.project.neighborhood.css %}
<style type="text/css">
@@ -49,7 +47,7 @@
{% block head %}
{% endblock %}
- {% if g.production_mode %}{{g.analytics.display()}}{% endif %}
+ {{g.analytics.display()}}
</head>
<body{% block body_attrs %}{% endblock %} id="forge">
@@ -60,7 +58,7 @@
{% set flash = tg.flash_obj.render('flash', use_js=False) %}
<section id="page-body" class="{{g.document_class(neighborhood)}}">
- <div id="content_base">
+ <div id="content_base" class="{% if c and c.app %}{{ c.app.config.tool_name }}{% endif %}">
<div class="magic_bar_osp">
<div id="top_nav" class="">
{% block top_nav %}