diff --git a/cms/templates/base.html b/cms/templates/base.html
index 935917b11a..92f37c0a51 100644
--- a/cms/templates/base.html
+++ b/cms/templates/base.html
@@ -6,11 +6,7 @@
- % if settings.MITX_FEATURES['USE_DJANGO_PIPELINE']:
<%static:css group='base-style'/>
- % else:
-
- % endif
<%block name="title">%block>
@@ -27,12 +23,7 @@
- % if settings.MITX_FEATURES['USE_DJANGO_PIPELINE']:
<%static:js group='main'/>
- % else:
-
- % endif
-
<%static:js group='module-js'/>
diff --git a/common/djangoapps/pipeline_mako/templates/static_content.html b/common/djangoapps/pipeline_mako/templates/static_content.html
index 00c2c4dff4..225e3e0542 100644
--- a/common/djangoapps/pipeline_mako/templates/static_content.html
+++ b/common/djangoapps/pipeline_mako/templates/static_content.html
@@ -5,6 +5,24 @@ from static_replace import replace_urls
%>
<%def name='url(file)'>${staticfiles_storage.url(file)}%def>
-<%def name='css(group)'>${compressed_css(group)}%def>
-<%def name='js(group)'>${compressed_js(group)}%def>
+
+<%def name='css(group)'>
+ % if settings.MITX_FEATURES['USE_DJANGO_PIPELINE']:
+ ${compressed_css(group)}
+ % else:
+ % for filename in settings.PIPELINE_CSS[group]['source_filenames']:
+
+ % endfor
+ %endif
+%def>
+<%def name='js(group)'>
+ % if settings.MITX_FEATURES['USE_DJANGO_PIPELINE']:
+ ${compressed_js(group)}
+ % else:
+ % for filename in settings.PIPELINE_JS[group]['source_filenames']:
+
+ % endfor
+ %endif
+%def>
+
<%def name='replace_urls(text)'>${replace_urls(text)}%def>
diff --git a/lms/templates/courseware.html b/lms/templates/courseware.html
index 1a72a6eab7..29178374fe 100644
--- a/lms/templates/courseware.html
+++ b/lms/templates/courseware.html
@@ -24,16 +24,7 @@
- % if settings.MITX_FEATURES['USE_DJANGO_PIPELINE']:
<%static:js group='courseware'/>
- % endif
-
- % if not settings.MITX_FEATURES['USE_DJANGO_PIPELINE']:
- % for jsfn in [ '/static/%s' % x.replace('.coffee','.js') for x in settings.PIPELINE_JS['courseware']['source_filenames'] ]:
-
- % endfor
- % endif
-
<%include file="mathjax_include.html" />
%block>
diff --git a/lms/templates/main.html b/lms/templates/main.html
index 7c9d291bf1..b8bac37dd2 100644
--- a/lms/templates/main.html
+++ b/lms/templates/main.html
@@ -8,34 +8,13 @@
-% if settings.MITX_FEATURES['USE_DJANGO_PIPELINE']:
<%static:css group='application'/>
-% endif
-% if not settings.MITX_FEATURES['USE_DJANGO_PIPELINE']:
-
-
-% endif
-
-
-% if settings.MITX_FEATURES['USE_DJANGO_PIPELINE']:
<%static:js group='main_vendor'/>
<%static:js group='application'/>
-% endif
-
-% if not settings.MITX_FEATURES['USE_DJANGO_PIPELINE']:
- % for jsfn in [ '/static/%s' % x.replace('.coffee','.js') for x in settings.PIPELINE_JS['main_vendor']['source_filenames'] ]:
-
- % endfor
- % for jsfn in [ '/static/%s' % x.replace('.coffee','.js') for x in settings.PIPELINE_JS['application']['source_filenames'] ]:
-
- % endfor
-% endif