Skip to content

Instantly share code, notes, and snippets.

@ascott1
Created February 26, 2015 21:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ascott1/eaad0cf79554146cddc3 to your computer and use it in GitHub Desktop.
Save ascott1/eaad0cf79554146cddc3 to your computer and use it in GitHub Desktop.
{% if env == 'built' %}
<link rel="stylesheet" href="{%static "regulations/css/style.min.css" %}"/>
{% else %}
<link rel="stylesheet" href="{%static "regulations/css/style.css" %}"/>
{% endif %}
<script src="{%static "regulations/js/source/otherlibs/modernizr.js" %}"></script>
{% block app_js %}
<script>
window.APP_PREFIX = "{{ APP_PREFIX }}";
</script>
{% if env == 'built' %}
<script src="{%static "regulations/js/built/regulations.min.js" %}"></script>
{% else %}
<!-- enable livereload and serve non minified js in debug mode -->
<script src="//localhost:35729/livereload.js"></script>
<script src="{%static "regulations/js/built/regulations.js" %}"></script>
{% endif %}
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment