mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-03 13:04:46 +00:00
Escaped template comments
This commit is contained in:
parent
3dd09899ff
commit
3da4d3a17e
1 changed files with 4 additions and 4 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue