Escaped template comments

This commit is contained in:
Karl Hobley 2015-06-09 15:49:49 +01:00
parent 3dd09899ff
commit 3da4d3a17e

View file

@ -12,11 +12,11 @@
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
{# Global stylesheets #}
{% templatetag opencomment %} Global stylesheets {% templatetag closecomment %}
<link rel="stylesheet" type="text/css" href="{% templatetag openblock %} static 'css/{{ project_name }}.css' {% templatetag closeblock %}">
{% templatetag openblock %} block extra_css {% templatetag closeblock %}
{# Override this in templates to add extra stylesheets #}
{% templatetag opencomment %} Override this in templates to add extra stylesheets {% templatetag closecomment %}
{% templatetag openblock %} endblock {% templatetag closeblock %}
</head>
@ -25,11 +25,11 @@
{% templatetag openblock %} block content {% templatetag closeblock %}{% templatetag openblock %} endblock {% templatetag closeblock %}
{# Global javascript #}
{% templatetag opencomment %} Global javascript {% templatetag closecomment %}
<script type="text/javascript" src="{% templatetag openblock %} static 'js/{{ project_name }}.js' {% templatetag closeblock %}"></script>
{% templatetag openblock %} block extra_js {% templatetag closeblock %}
{# Override this in templates to add extra javascript #}
{% templatetag opencomment %} Override this in templates to add extra javascript {% templatetag closecomment %}
{% templatetag openblock %} endblock {% templatetag closeblock %}
</body>
</html>